Skip to content

Commit

Permalink
fix for expression evaluation in validateValue method (MID-4602)
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Oct 3, 2018
1 parent 723de02 commit d9c95f2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -1379,10 +1379,10 @@ private <T, O extends ObjectType> boolean validateValue(PrismObject<O> object, V

private <O extends ObjectType> AbstractValuePolicyOriginResolver<O> getOriginResolver(PrismObject<O> object) {
if (object != null && UserType.class.equals(object.getCompileTimeClass())) {
new UserValuePolicyOriginResolver((PrismObject<UserType>) object, objectResolver);
return (AbstractValuePolicyOriginResolver) new UserValuePolicyOriginResolver((PrismObject<UserType>) object, objectResolver);
}

//TODO not supported yet
//TODO not supported yet, throw exception instead of null???
return null;
}

Expand Down

0 comments on commit d9c95f2

Please sign in to comment.