You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Nicolas Malin (JIRA)" <ji...@apache.org> on 2013/03/12 09:13:14 UTC
[jira] [Updated] (OFBIZ-5152) merge three maps with map-to-map
[ https://issues.apache.org/jira/browse/OFBIZ-5152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Malin updated OFBIZ-5152:
---------------------------------
Attachment: OFBiz-5152
The patch move the map merge function to run it when a map is given.
> 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
> Priority: Minor
> Labels: mini-lang
> Fix For: SVN trunk
>
> 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