aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/FormularCustomization.java
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2015-08-17 18:22:05 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2015-08-17 18:22:05 +0200
commit730b8bc2de32be13016066a86498ae0181b0ee1e (patch)
tree4d200ce16626cf4bdf15d20ea8af7ddfb3b4434a /id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/FormularCustomization.java
parent456513332389b2dbb7a6d1461f77dda9b7393050 (diff)
downloadmoa-id-spss-730b8bc2de32be13016066a86498ae0181b0ee1e.tar.gz
moa-id-spss-730b8bc2de32be13016066a86498ae0181b0ee1e.tar.bz2
moa-id-spss-730b8bc2de32be13016066a86498ae0181b0ee1e.zip
final changes for Release MOA-ID 3.0.0MOA-ID-3.0.0
Diffstat (limited to 'id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/FormularCustomization.java')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/FormularCustomization.java14
1 files changed, 9 insertions, 5 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/FormularCustomization.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/FormularCustomization.java
index e2d473f8a..ecf0d19d7 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/FormularCustomization.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/FormularCustomization.java
@@ -254,12 +254,16 @@ public class FormularCustomization implements IOnlineApplicationData {
//store BKU-selection and send-assertion templates
if (authUser.isAdmin()) {
- if (isDeleteBKUTemplate())
- templates.setBKUSelectionTemplate(null);
-
- if (isDeleteSendAssertionTemplate())
- templates.setSendAssertionTemplate(null);
+ if (isDeleteBKUTemplate() && templates.getBKUSelectionTemplate() != null) {
+ //templates.setBKUSelectionTemplate(null);
+ templates.getBKUSelectionTemplate().setDelete(true);
+ }
+ if (isDeleteSendAssertionTemplate() && templates.getSendAssertionTemplate() != null) {
+ //templates.setSendAssertionTemplate(null);
+ templates.getSendAssertionTemplate().setDelete(true);
+ }
+
if (bkuSelectionForm != null && bkuSelectionForm.size() > 0) {
TransformsInfoType template = new TransformsInfoType();