Open gab1one opened 8 years ago
@dietzc Since in #49 we now require the Hook and have the column selection widget, which throws "NotConfigurableException" if no matching input column is available, this will be done with that, too, right?
@gab1one Ok if I remove the in progress label?
I think you are right @Squareys. Can you double-check and close the issue? However, the exception should be treated gracefully.
treated gracefully
The graceful part is usually already handled in KNIME (it should show the invalid settings dialog), but maybe we mean different things? Do you mean still being able to save the settings (just display a warning), even though not actually valid?
We want default KNIME behaviour: Node is red, but can be configured (or so)?
We want default KNIME behaviour: Node is red, but can be configured (or so)?
Wouldn't default behaviour be not to allow configuring invalid settings? And if no auto-setting for the input column selection for example could be found (new node with no node connected at input set), then it is red?
Wouldn't default behaviour be not to allow configuring invalid settings? And if no auto-setting for the input column selection for example could be found (new node with no node connected at input set), then it is red?
Exactly.
If a generated node is configured, e.g. when connected to another node, the configuration must fail if the inputspec is not compatible. This could be the case if no column of a required type is available.