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

error in parsing array in ajaxUpdateAreas

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Agile

                Completed Sprint:
                Community Day 2 - 2015 ended 22/Jun/15
                View on Board

                Slack

                  Issue deployment