Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-1306

Patron groups with commas fail in search filter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Duplicate
    • 2.25.4
    • None
    • None

    Description

      In the Users app, if you select a patron group with a comma in the "group" field of the usergroup record, the app crashes. The error in the console is:

      bundle.6bd34fd2a759dd5b3f0b.js:104 TypeError: Cannot read property 'cql' of undefined
          at C (bundle.6bd34fd2a759dd5b3f0b.js:66)
          at _ (bundle.6bd34fd2a759dd5b3f0b.js:66)
          at bundle.6bd34fd2a759dd5b3f0b.js:9
          at M (bundle.6bd34fd2a759dd5b3f0b.js:88)
          at bundle.6bd34fd2a759dd5b3f0b.js:88
          at bundle.6bd34fd2a759dd5b3f0b.js:9
          at bundle.6bd34fd2a759dd5b3f0b.js:9
          at Xr (bundle.6bd34fd2a759dd5b3f0b.js:9)
          at Function.fr.mapValues (bundle.6bd34fd2a759dd5b3f0b.js:9)
          at t.verbOptions (bundle.6bd34fd2a759dd5b3f0b.js:88)
      

      No query is sent to the backend.

      Reproduced on the Vagrant box folio-snapshot-core v1.0.0-20191015.3018 and on the Daisy release of ui-users (v2.25.4).

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                wayne Wayne Schneider
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases