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 2015/06/20 14:18:01 UTC

[jira] [Closed] (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 ]

Nicolas Malin closed OFBIZ-6496.
--------------------------------

> 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
>            Assignee: Nicolas Malin
>             Fix For: Release Branch 12.04, Release Branch 13.07, Release Branch 14.12, Upcoming Branch
>
>         Attachments: selectall.js.patch
>
>
> I had to use ajaxupdateareas to update dynamically data.
> The call ajax contains parameters of type array.
> {quote}
> Parameter1={has,b,c},parameter2=A,parameter3=B
> {quote}
> 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)