SpEL Indexer
silently ignores failure to set property as index
#33310
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
The
PropertyIndexingValueRef.setValue(Object)
method in SpEL'sIndexer
silently ignores a failure to set a property via the indexing syntax.For example, if property writes are disabled in the
EvaluationContext
, the SpEL expression#person['name'] = 'Jane'
evaluates successfully without throwing an exception, but thename
property is not actually set.The text was updated successfully, but these errors were encountered: