[
https://issues.apache.org/jira/browse/OFBIZ-12749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681397#comment-17681397
]
ASF subversion and git services commented on OFBIZ-12749:
---------------------------------------------------------
Commit aaee98002e34b68da214a16d35ffc4372979b18d in ofbiz-framework's branch
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=aaee98002e ]
Fixed: Use non string parameters on a update-area failed when comme from a
JWToken (OFBIZ-12749)
When define a update-area with some parameters as List or Map the conversion
failed due to a bad management of this case when the creation come from a
JWToken.
<actions>
<set field="myList" value="${groovy: ['myCase']}"/>
</actions>
<field name="myField"><hyperlink link-type="layered-modal" ...>
<set-callback area-target="myTarget">
<parameter param-name="myList"/>
</set-callback>
</hyperlink></field>
The link generate for the callback contains the variable myField with the class
name and not serialized List "['myCase']"
> Use non string parameters on a update-area failed when comme from a JWToken
> ---------------------------------------------------------------------------
>
> Key: OFBIZ-12749
> URL: https://issues.apache.org/jira/browse/OFBIZ-12749
> Project: OFBiz
> Issue Type: Bug
> Reporter: Nicolas Malin
> Priority: Minor
>
> When define a update-area with some parameters as List or Map the conversion
> failed due to a bad management of this case when the creation come from a
> JWToken.
> {code:xml}
> <actions>
> <set field="myList" value="${groovy: ['myCase']}"/>
> </actions>
> <field name="myField"><hyperlink link-type="layered-modal" ...>
> <set-callback area-target="myTarget">
> <parameter param-name="myList"/>
> </set-callback>
> </hyperlink></field>
> {code}
> The link generate for the callback contains the variable myField with the
> class name and not serialized List "{_}['myCase']"{_}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)