[SPR-15810] TemplateAwareExpressionParser.parseExpression does not accept null ParserContext anymore Created: 24/Jul/17 Updated: 11/Sep/17 Resolved: 25/Jul/17
|Affects Version/s:||5.0 RC2, 5.0 RC3|
|Fix Version/s:||5.0 RC4|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Days since last comment:||1 year, 8 weeks, 6 days ago|
|Last commented by a User:||false|
I initailly raised this as https://jira.spring.io/browse/SWF-1706 but I think this is really a spring expression issue.
With 5.0.0.RC3, I am seeing:
This does not happen with 4.3.x and earlier.
I THINK this traces to a change in org.springframework.expression.common.TemplateAwareExpressionParser.parseExpression.
In 5.0.0, it looks like:
In earlier versions, a null context is explicitly protected against:
I am coming across this when upgrading a Spring Webflow application to SWF 2.4.5.RELEASE.
I have found that I can use the bulk of 5.0.0.RC3 IFF I force expression to an earlier version:
So: this is not quite a blocker for me, but may be worth looking at before 5 goes live?
|Comment by Juergen Hoeller [ 25/Jul/17 ]|
Good catch! Restored for 5.0 RC4, albeit in a different fashion (namely consistent use of null as non-template ParserContext).