Un-checking a checked filter in 'Filter search' dropdown (under Insight object schema page) throws an exception (and does not remove the filter)

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Go to Insight's object schema page
      2. Click 'Filter search' dropdown
      3. Add a filter, e.g. `Key: <blah-key>`
      4. Click 'Filter search' dropdown again
      5. Click the ticked checkbox for `Key`

      Expected Results

      The `Key` filter should be un-checked and removed.

      Actual Results

      The `Key` filter remains with the dropdown close and the following exception thrown in the console:

      VM2991 ObjectSchema.jspa:386 Uncaught ReferenceError: renderAttribute is not defined
          at HTMLInputElement.<anonymous> (com.riadalabs.jira.plugins.insight:rlabs-commons.js?locale=en-UK:8909:60)
          at HTMLInputElement.dispatch (batch.js?locale=en-UK:179:3915)
          at v.handle (batch.js?locale=en-UK:179:2004)
          at HTMLInputElement.nrWrapper (VM2991 ObjectSchema.jspa:386:26553) 

      Workaround

      The added `Key` filter can still be removed by clicking the circular 'Cross' icon button on the lefthand side of the 'Filter Search' (dropdown) button.

              Assignee:
              Roman Litvishko (Inactive)
              Reporter:
              Martin Ma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: