Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2152

Saved Search UI not able to load searches having OR conditions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 0.8.2, 1.0.0
    • atlas-webui
    • None

    Description

      After saving the search query, Atlas UI unable to load the saved search.

      Below exception is observed on the browser console

      CommonViewFunction.js:487 Uncaught TypeError: Cannot read property 'toJSON' of undefined
          at CommonViewFunction.js:487
          at Function.s.each.s.forEach (underscore-min.js:5)
          at Object.g.generateUrlFromSaveSearchObject (CommonViewFunction.js:476)
          at L.d.applyValue (SearchLayoutView.js:155)
          at L.d.stateChange (SaveSearchItemView.js:60)
          at HTMLLIElement.dispatch (jquery.min.js:3)
          at HTMLLIElement.q.handle (jquery.min.js:3)
      

      Tested on master.

      Attachments

        1. SavedSearchSample.json
          5 kB
          Ayub Pathan
        2. ATLAS-2152.patch
          19 kB
          pratik pandey
        3. ATLAS-2152.branch0.8.patch
          19 kB
          pratik pandey

        Issue Links

          Activity

            People

              pratik24mac pratik pandey
              ayubpathan Ayub Pathan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: