Invalid stage (unescaped array) causes tab crash in aggregations

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 1.49.1
    • Affects Version/s: None
    • Component/s: Aggregation pipeline
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Not Needed
    • None
    • Developer Tools

      Reproduce:
      1. Open aggregations

      2. Add a stage ($match for example)

      3. Edit it to have an unbounded array in the stage, like:

      {   a: ['a' }

      4. Switch tabs
      5. Go back to the last tab, observe it's crashed and progress is lost. (screenshot)

       

       

            Assignee:
            Unassigned
            Reporter:
            Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: