[jira] [Closed] (OFBIZ-5152) merge three maps with map-to-map

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-5152) merge three maps with map-to-map

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-5152.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 12.04
         Assignee: Jacques Le Roux

Thanks Nicolas,

Your patch is in trunk at revision: 1470151
Because of conflicts, I did backport only to R12.04 at revision: 1470154
               

> merge three maps with map-to-map
> --------------------------------
>
>                 Key: OFBIZ-5152
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5152
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Assignee: Jacques Le Roux
>            Priority: Minor
>              Labels: mini-lang
>             Fix For: SVN trunk, Release Branch 12.04
>
>         Attachments: OFBiz-5152
>
>
> To merge two or more maps on one map with <map-to-map> element on mini-lang doesn't work.
> example :
>       <call-service service-name="accReport-header" in-map-name="headerMap">
>         <result-to-field result-name="jrParameters" />
>       </call-service>
>       <map-to-map map="reportParameters" to-map="jrParameters"/>
>       <map-to-map map="parameters" to-map="jrParameters"/>
> This doesn't work because the map-to-map method doesn't accept to merge an existing to-map and the <map-to-map map="parameters" to-map="jrParameters"/> has been ignored

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira