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:11:13 UTC

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

Nicolas Malin created OFBIZ-5152:
------------------------------------

             Summary: 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
             Fix For: SVN trunk


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