Skip to content

Commit

Permalink
MID-1994 - tenantRef GUI component small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Suta committed Jul 23, 2014
1 parent 3cbb2d0 commit 0cc094b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -213,7 +213,7 @@ public PrismContainerValue getNewValue() throws SchemaException {
newAssignment.setActivation(null);
}

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

0 comments on commit 0cc094b

Please sign in to comment.