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

Nicolas Malin updated OFBIZ-12749:
----------------------------------
    Description: 
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']"{_}

  was:
When define a update-area with some parameters as List or Map the conversion 
failed due to a bad management of this case
{code:xml}
    <actions>
        <set field="myList" value="${groovy: ['myCase']}"/>
    </actions>
    <field name="myField"><hyperlink link-type="update-area" ...>
        <parameter param-name="myList"/>
    </hyperlink></field>
{code}
The link contains the variable myField with the class name and not 
serialization _['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)

Reply via email to