Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0e28c2

Browse files
author
Open Lowcode SAS
committed
Close #294
1 parent 5ad600a commit a0e28c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/org/openlowcode/design/data/DataObjectDefinition.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3548,7 +3548,7 @@ public void generateDefinitionToFile(SourceGenerator sg, Module module) throws I
35483548
if (classfilter == null)
35493549
throw new RuntimeException("No class defined");
35503550
sg.wl(" private ConditionalAliasListParentHelper<");
3551-
sg.wl(" " + classname + ", " + choiceclass + ",");
3551+
sg.wl(" " + classname + ", " + (choiceclass.equals("?")?"BooleanChoiceDefinition":choiceclass) + ",");
35523552
sg.wl(" " + classfilter + "> aliaslisthelper;");
35533553
} else if (this.categoryforextractor != null) {
35543554
sg.wl(" private ConditionalAliasListHelper<");
@@ -3780,7 +3780,7 @@ public void generateDefinitionToFile(SourceGenerator sg, Module module) throws I
37803780
sg.wl("");
37813781
}
37823782

3783-
if (this.categoryforextractor != null) {
3783+
if (this.categoryforextractor != null || this.dynamicloaderinsertionorder.size()>0) {
37843784
sg.wl(" this.initConditionalAliasList();");
37853785
}
37863786
sg.wl(" }");
@@ -4145,7 +4145,7 @@ public void generateDefinitionToFile(SourceGenerator sg, Module module) throws I
41454145

41464146
}
41474147

4148-
if (this.categoryforextractor != null) {
4148+
if (this.categoryforextractor != null || this.dynamicloaderinsertionorder.size()>0) {
41494149
sg.wl(" public void initConditionalAliasList() {");
41504150
Iterator<Entry<String, ChoiceValue[]>> restrictionset = restrictionforalias.entrySet().iterator();
41514151

src/org/openlowcode/server/data/properties/multichild/MultichildValueHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ public String[] getValueRestriction() {
451451

452452
@Override
453453
public boolean load(G object, Object value, PostUpdateProcessingStore<G> postupdateprocessingstore) {
454-
logger.warning("Adding value in index " + index + " value = " + value.toString());
454+
logger.fine("Adding value in index " + index + " value = " + (value!=null?value.toString():"NULL"));
455455
parsedvalue = MultichildValueHelper.this.payloadparser.apply(value, applocale, extraattributes);
456456
helper.setSecondaryValueForLoading(index, MultichildValueHelper.this
457457
.print(parsedvalue));

0 commit comments

Comments
 (0)