Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-354

netui-datagrid.js file doesn't decode filter URI components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V1Beta
    • V1Beta
    • NetUI
    • None

    Description

      The netui-datagrid.js file provides support for adding data grid filter information to the URL. In order to track filters, this javascript file must parse data off of the URL, and this is currently failing when the URL is fully encoded. So, a URL like:

      http://localhost:8080/dataGridWeb/sql/test/begin.do?netui_filter=customers%3Bcustomerid%7Econtains%7EAL

      doesn't parse correctly because the parameter value:

      customers%3Bcustomerid%7Econtains%7EAL

      isn't decoded into:

      customers;customerid~contains~AL

      The fix is to add a decodeURIComponent(...) call when a parameter is parsed in the NetUIFilterList.parse(value) function.

      Attachments

        Activity

          People

            njantz Nathan Jantz
            ekoneil Edward O'Neil
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: