Skip to content

Commit

Permalink
pass the correct argument to create the JMESPath
Browse files Browse the repository at this point in the history
The filed was passed to create the JMESPath when creating the groupsFieldName, however this was not a string that had been passed through `Util.fixEmptyAndTrim` which caused exceptions to be logged when not using groups
  • Loading branch information
jtnord authored Dec 23, 2024
1 parent 6e62f67 commit e4f2c83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ private Object applyJMESPath(Expression<Object> expression, Object map) {
@DataBoundSetter
public void setGroupsFieldName(String groupsFieldName) {
this.groupsFieldName = Util.fixEmptyAndTrim(groupsFieldName);
this.groupsFieldExpr = this.compileJMESPath(groupsFieldName, "groups field");
this.groupsFieldExpr = this.compileJMESPath(this.groupsFieldName, "groups field");
}

@DataBoundSetter
Expand Down

0 comments on commit e4f2c83

Please sign in to comment.