diff options
-rw-r--r-- | id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/AttributeHelper.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/AttributeHelper.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/AttributeHelper.java index 349f3bf4a..012e8121f 100644 --- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/AttributeHelper.java +++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/AttributeHelper.java @@ -22,7 +22,11 @@ public class AttributeHelper { public AttributeHelper(StorkAttribute attribute) { name = attribute.getName(); mandatory = false; - readonly = attribute.isMandatory(); + if (attribute.isMandatory()==null) { // TODO check details + attribute.setMandatory(false); + } else { + readonly = attribute.isMandatory(); + } isUsed = readonly; } |