fix missing NBConfiguration param name

This commit is contained in:
Jonathan Shook 2022-03-07 16:23:38 -06:00
parent 41b17ffa62
commit 366feda873

View File

@ -172,6 +172,9 @@ public class ConfigModel implements NBConfigModel {
break;
}
}
if (activename==null) {
activename = param.getNames().get(0);
}
if (cval == null && param.isRequired()) {
activename = param.getNames().get(0);
cval = param.getDefaultValue(); // We know this will be valid. It was validated, correct?