-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Costin Leau opened SPR-5293 and commented
Constructor PropertyValue(PropertyValue) does not copy all the properties of the given pv. In my case, the given pv is converted already which means the converted flag is set to true. However, the constructor does not copies this field (though it does copy conversionNecessary which is package protected) which means the property gets converted again on the next run. Additionally, the converted value is ignored as well.
Not sure what's the relationship between resolvedTokens and convertedValue but the two should be synchronized somehow.
(I've attached a patch with a trivial fix)
Affects: 2.5.6
Attachments:
- patch.txt (852 bytes)
Referenced from: commits 46cbaa9
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement