aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-04-07 07:53:35 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-04-07 07:53:35 +0200
commit202c8aacce19ea734fbe93b268990676a116ec5d (patch)
treeb7490f488093afb61cd71d8302bf1190a494285c /id/ConfigWebTool
parent01c410a5994db9c58af73b0dacb7be02522ca702 (diff)
parent6ae91a69cc6b679bfc8915f6b190a2695722b200 (diff)
downloadmoa-id-spss-202c8aacce19ea734fbe93b268990676a116ec5d.tar.gz
moa-id-spss-202c8aacce19ea734fbe93b268990676a116ec5d.tar.bz2
moa-id-spss-202c8aacce19ea734fbe93b268990676a116ec5d.zip
Merge remote-tracking branch 'remotes/origin/vidp_2.1_bs' into moa-2.1-Snapshot
Diffstat (limited to 'id/ConfigWebTool')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/AttributeHelper.java6
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;
}