Commit eb293e5e by Tuukka Kivilahti

bugfix

1 parent 4ba0260d
...@@ -34,6 +34,7 @@ public class AccessRightFacade extends IntegerPkGenericFacade<AccessRight> { ...@@ -34,6 +34,7 @@ public class AccessRightFacade extends IntegerPkGenericFacade<AccessRight> {
// Might not exist yet -> create // Might not exist yet -> create
if (right == null) { if (right == null) {
right = new AccessRight(); right = new AccessRight();
right.setName(target);
em.persist(right); em.persist(right);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!