From 783fdf87bd653a371d36aff2a2782b46310ec93a Mon Sep 17 00:00:00 2001 From: jpfeuffer Date: Fri, 9 Sep 2016 21:14:41 +0200 Subject: [PATCH] [Hotfix] Forgot NOT in Activity check I am stupid. It really seemed like the test workflow worked. --- .../knime/config/writer/CTDConfigurationWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.genericworkflownodes.knime.config/src/com/genericworkflownodes/knime/config/writer/CTDConfigurationWriter.java b/com.genericworkflownodes.knime.config/src/com/genericworkflownodes/knime/config/writer/CTDConfigurationWriter.java index e104e613..830f7b1b 100644 --- a/com.genericworkflownodes.knime.config/src/com/genericworkflownodes/knime/config/writer/CTDConfigurationWriter.java +++ b/com.genericworkflownodes.knime.config/src/com/genericworkflownodes/knime/config/writer/CTDConfigurationWriter.java @@ -252,7 +252,7 @@ private void writeItem(String key, Parameter p) throws IOException { } // If it is an optional outport, check activation if (p.isOptional() && currentConfig.getOutputPortByName(key) != null) { - if (((FileParameter) p).getPort().isActive()) { + if (!((FileParameter) p).getPort().isActive()) { //skip addition of inactive Ports. They should not have any meaningful filenames/values anyway. return; }