-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
Description
Matt Wuertz opened SPR-9552 and commented
I work on the Kuali Rice project. When I try to use a map merge with nested properties, it doesn't function correctly. For example:
<bean id="testNestedMap" class="SomeClass">
<property name="reference1">
<bean class="SomeClass">
<property name="map1">
<map>
<entry key="keyQ" value="Q"/>
</map>
</property>
</bean>
</property>
</bean>
<bean parent="testNestedMap">
<property name="reference1.map1">
<map merge="true">
<entry key="keyC" value="C"/>
</map>
</property>
</bean>
My hope is to get X and C in the child map. When I do this, however, all I get is C. I have asked for guidance on the forums but did have any responses, which leads me to believe that this is a bug. Please let me know if there is any additional information I can provide.
I placed the priority as Major because I don't have a workaround for this.
Affects: 3.1 GA
Issue Links:
- Introduce 'merge' attribute for util namespace collection elements [SPR-6523] #11189 Introduce 'merge' attribute for util namespace collection elements
0 votes, 8 watchers
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement