You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Gaudin Pierre (JIRA)" <ji...@apache.org> on 2015/06/12 11:35:00 UTC

[jira] [Updated] (OFBIZ-6496) error in parsing array in ajaxUpdateAreas

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

Gaudin Pierre updated OFBIZ-6496:
---------------------------------
    Attachment: selectall.js.patch

> error in parsing array in  ajaxUpdateAreas
> ------------------------------------------
>
>                 Key: OFBIZ-6496
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6496
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Gaudin Pierre
>             Fix For: Trunk
>
>         Attachments: selectall.js.patch
>
>
> I had to use ajaxupdateareas to update dynamically data.
> The call ajax contains parameters of type array.
> IE : Parameter1 = {has, b, c}, parameter2=A, parameter3=B
> Unfortunately, the function ajaxupdateareas Split the arguments via a simple Split(","). This also split the array...  . It is necessary to add a more complex regex to avoid to make Split into array. As attachment I put an available patch for the trunk version



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)