Skip to content

Commit

Permalink
Fixing null prismContext in approver expressions (thanks to Patrick B…
Browse files Browse the repository at this point in the history
…ogen).

(cherry picked from commit e19436d)
  • Loading branch information
mederly committed Sep 22, 2016
1 parent 92821a4 commit d11f886
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -120,6 +120,9 @@ public List<? extends LightweightObjectRef> getApproverRefs() {
public List<ExpressionType> getApproverExpressions() {
List<ExpressionType> retval = new ArrayList<>();
for (SerializationSafeContainer<ExpressionType> approverExpression : approverExpressions) {
if (prismContext != null && approverExpression.getPrismContext() == null) {
approverExpression.setPrismContext(prismContext);
}
retval.add(approverExpression.getValue());
}
return Collections.unmodifiableList(retval);
Expand Down

0 comments on commit d11f886

Please sign in to comment.