double evaluation of method arguments in SpEL [SPR-11445] #16071
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: regression
A bug that is also a regression
Milestone
Björn Voß opened SPR-11445 and commented
Since version 3.2.5 in expressions like
"dummyAction.isSero(dummyBean.getCalls())"
the argument part "dummyBean.getCalls()" is evaluated twice
see attached a little project for testing.
if you change the propertie 'spring.version' to 3.2.4.RELEASE the test is green. On all later versions the test fails.
Affects: 3.2.5, 3.2.6, 3.2.7, 3.2.8, 4.0.1, 4.0.2
Attachments:
Referenced from: commits 519799e, b1bcc5d
Backported to: 3.2.9
The text was updated successfully, but these errors were encountered: