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

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

Gaudin Pierre created OFBIZ-6496:
------------------------------------

             Summary: 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


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)