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:00 UTC

[jira] [Resolved] (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 resolved OFBIZ-6496.
----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: Trunk)
                   Release Branch 12.04
                   Release Branch 13.07
                   Release Branch 14.12
                   Upcoming Branch

Ok it's work for me fixed on revision :
 * 1686593 trunk
 * 1686594 13.07
 * 1686595 12.04
 * 1686596 14.12

Thanks Pierre

> 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: Upcoming Branch, Release Branch 14.12, Release Branch 13.07, Release Branch 12.04
>
>         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)