Skip to content

Merge of util:map does not work [SPR-4760] #9437

Closed

Description

@spring-projects-issues

Nate Stoddard opened SPR-4760 and commented

Merging of child util:map (when using the schema configuration) does not seem to work. This issue was first posted in the support forums at http://forum.springframework.org/showthread.php?t=53358.


Affects: 2.5.3

Issue Links:

Activity

  1. spring-projects-issues commented on May 9, 2008

    @spring-projects-issues
    CollaboratorAuthor

    Kevin Calcagno commented

    I don't think this bug is valid. Your example appears to misuse util:map. The util:map tag is intended for creating a named bean that is a Map (it's a shortcut for MapFactoryBean). If you want to create a map as a property value of some other bean, just use <map> instead.

    (also posted this on the thread in the support forum)

  2. spring-projects-issues commented on Jun 5, 2008

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    We do have an issue there after all, since util:map and co expose a "merge" attribute - which is simply ignored at this point. That's certainly not acceptable. I'll see what I can do about it in the short term.

    Juergen

  3. spring-projects-issues commented on Jun 6, 2008

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    Merging through util:map and co is not really in line with the semantics of those tags, since they are designed to define standalone collections with own id etc. As a consequence, I've revised our 2.5 XSDs to not expose the "merge" attribute for util:map and co, whereas it still remains available for plain <map> and co.

    Juergen

  4. added
    type: bug
    in: core
    on Jan 11, 2019
  5. added this to the 2.5.5 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions