Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5655

Aggregation pipeline stage shows "An error occurred while rendering AggregationsPlugin: Cannot have two HTML5 backends at the same time."

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.31.2
    • Affects Version/s: 1.31.0
    • Component/s: Aggregation pipeline
    • None
    • Environment:
      mac 12.1
    • Not Needed
    • Iteration Yonkers

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      Can't create a 2nd Aggregation pipeline stage.

      This happens when there is no index other than the default index. After adding an index, aggregation pipeline works as normal.

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      Using sample_mflix on standalone mongod.

      Create pipeline on $match using
      {    year: {$gte:1950}
      }

      Click "Add Stage" button.

      See error, "An error occurred while rendering AggregationsPlugin: Cannot have two HTML5 backends at the same time."

      Expected Results

      What do you expect to happen?

      Can create a 2nd aggregation pipeline stage.

      Actual Results

      What do you observe is happening?

      See error, "An error occurred while rendering AggregationsPlugin: Cannot have two HTML5 backends at the same time."

      Can't go back to previous screen either.

      Additional Notes

      Any additional information that may be useful to include.

        1. Screen Shot 2022-03-31 at 3.04.20 PM.png
          84 kB
          Felicia Hsieh
        2. Screen Shot 2022-03-31 at 3.07.35 PM.png
          398 kB
          Felicia Hsieh

            Assignee:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Reporter:
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: