diff options
author | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-07-04 14:44:26 +0200 |
---|---|---|
committer | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-07-04 15:45:08 +0200 |
commit | 27c5460e2138fbb7de64214a7538b98effb5a7a6 (patch) | |
tree | d4e1700e3961fb9d75392bdbe4e2aded95a8f8a7 /id/ConfigWebTool/src/main/java/at/gv/egovernment | |
parent | 35993eab38db2aa67137d674baa31031266c2b2e (diff) | |
download | moa-id-spss-27c5460e2138fbb7de64214a7538b98effb5a7a6.tar.gz moa-id-spss-27c5460e2138fbb7de64214a7538b98effb5a7a6.tar.bz2 moa-id-spss-27c5460e2138fbb7de64214a7538b98effb5a7a6.zip |
fix: CPEPS list is now edited in place instead of clean and refill
Diffstat (limited to 'id/ConfigWebTool/src/main/java/at/gv/egovernment')
-rw-r--r-- | id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/moaconfig/StorkConfigValidator.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/moaconfig/StorkConfigValidator.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/moaconfig/StorkConfigValidator.java index 8bc916e5a..4a5676fd6 100644 --- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/moaconfig/StorkConfigValidator.java +++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/moaconfig/StorkConfigValidator.java @@ -28,6 +28,10 @@ public class StorkConfigValidator { if (form.getCpepslist() != null) { for(CPEPS current : form.getCpepslist()) { + // if an existing record got deleted + if(null == current) + continue; + // check country code String check = current.getCountryCode(); if (MiscUtil.isNotEmpty(check)) { |