bug fix
This commit is contained in:
parent
cf5333c788
commit
f9c89e4f92
|
@ -347,7 +347,10 @@ public class DescriptionTemplateServiceImpl implements DescriptionTemplateServic
|
|||
data.setNumbering(persist.getNumbering());
|
||||
data.setAdditionalInformation(persist.getAdditionalInformation());
|
||||
data.setExtendedDescription(persist.getExtendedDescription());
|
||||
if (persist.getMultiplicity() != null && persist.getMultiplicity().getMin() != 0 && persist.getMultiplicity().getMax() != 0)
|
||||
if (persist.getMultiplicity() != null && (
|
||||
(persist.getMultiplicity().getMin() != null && persist.getMultiplicity().getMin() != 0)
|
||||
|| (persist.getMultiplicity().getMax() != null && persist.getMultiplicity().getMax() != 0)
|
||||
))
|
||||
data.setMultiplicity(this.buildMultiplicityEntity(persist.getMultiplicity()));
|
||||
data.setHasCommentField(persist.getHasCommentField());
|
||||
|
||||
|
|
Loading…
Reference in New Issue