Commit c673e648 authored by Dominique Marcadet's avatar Dominique Marcadet

Complement to commit 9785b448 which was not enough to solve issue

parent 2652809d
......@@ -140,11 +140,18 @@ public class DataObjectPresenceConditionValidator {
// condition.
// To do this, we put a non null dictionary for the corresponding condition in the root,
// and duplicate it in each sub-LNClass for adding specific elements
if( parent == null ) {
if( base == null ) {
atLeastOne = new HashMap<>();
}
else {
atLeastOne = ( HashMap< Integer, HashSet< String > > ) base.atLeastOne.clone();
// We also need to add corresponding keys in presentDO
for( Integer group : atLeastOne.keySet() ) {
for( String name : atLeastOne.get( group )) {
presentDO.put( name, null );
}
}
}
anyLNClass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment