Skip to content

Commit

Permalink
one more tenantRef GUI fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Suta committed Jul 23, 2014
1 parent 0cc094b commit 686990c
Showing 1 changed file with 7 additions and 3 deletions.
Expand Up @@ -214,9 +214,13 @@ public PrismContainerValue getNewValue() throws SchemaException {
}

if(tenantRef != null && AssignmentEditorDtoType.ROLE.equals(this.type)){
ObjectReferenceType ref = new ObjectReferenceType();
ref.setOid(this.tenantRef.getOid());
newAssignment.setTenantRef(ref);
if(tenantRef.getOid() == null){
newAssignment.setTenantRef(null);
} else {
ObjectReferenceType ref = new ObjectReferenceType();
ref.setOid(this.tenantRef.getOid());
newAssignment.setTenantRef(ref);
}
}

ConstructionType construction = newAssignment.getConstruction();
Expand Down

0 comments on commit 686990c

Please sign in to comment.