Skip to content

Commit b9e58ca

Browse files
hs-lsongclaude
andcommitted
Fix disabled filter handling in AstFilterChain to match non-chained behavior
The non-chained path in JinjavaInterpreterResolver skips disabled filters and passes the value through to the next filter. The chained path was incorrectly returning null for the entire expression, discarding the input and aborting remaining filters. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 60bafce commit b9e58ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/hubspot/jinjava/el/ext/AstFilterChain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public Object eval(Bindings bindings, ELContext context) {
8585
e
8686
)
8787
);
88-
return null;
88+
continue;
8989
}
9090
if (filter == null) {
9191
interpreter.addError(

0 commit comments

Comments
 (0)