From 0b68d0d218b8b61c5a7c6d8983eb56a33e37ef29 Mon Sep 17 00:00:00 2001 From: Felix Exner Date: Tue, 8 Sep 2020 16:53:27 +0200 Subject: [PATCH] Reset the program script during installation contribution If not the script code got set during the first invocation (after bootup?) So, there was no chance to fetch the code once a connection could not be established, as the popup code was already retreived and the check for an empty string failed. --- .../impl/ExternalControlInstallationNodeContribution.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/fzi/externalcontrol/impl/ExternalControlInstallationNodeContribution.java b/src/main/java/com/fzi/externalcontrol/impl/ExternalControlInstallationNodeContribution.java index b93a5f3..d3c9776 100644 --- a/src/main/java/com/fzi/externalcontrol/impl/ExternalControlInstallationNodeContribution.java +++ b/src/main/java/com/fzi/externalcontrol/impl/ExternalControlInstallationNodeContribution.java @@ -65,7 +65,8 @@ public boolean isDefined() { @Override public void generateScript(ScriptWriter writer) { - + // Make sure the program gets requested at least once + urScriptProgram = ""; } // IP helper functions