Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6496

error in parsing array in ajaxUpdateAreas

    XMLWordPrintableJSON

Details

    • Community Day 2 - 2015

    Description

      I had to use ajaxupdateareas to update dynamically data.
      The call ajax contains parameters of type array.

      Parameter1=

      Unknown macro: {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

      Attachments

        1. selectall.js.patch
          0.7 kB
          Gaudin Pierre

        Activity

          People

            nmalin Nicolas Malin
            gpierre Gaudin Pierre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: