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

Compass Aggregation Views > Create View and Duplicate View do not work

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 1.29.6, 1.30.1
    • Component/s: Views
    • None
    • Environment:
      macOS 11.6.2 and Win10
    • 5
    • Not Needed

      Problem Statement/Rationale

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

      Duplicating a View does not duplicate a view and list it on the left hand side under the databases. Behavior varies and see unexpected error msgs.

      Create View displays unexpected dialog window

      Modify a View/Source
      A new window tab appears every time. Not clear why each Modify View/Source would need a new view.

      Steps to Reproduce

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

      Create a simple View filtering on one key. The focus changes from the Aggregations tab to the Documents tab.

      Duplicate a View using dropdown item. Generates "viewOn cannot be empty" when after Creating a name of the new view. It also freezes on the blue bar that says "Duplicate in Progress". Must click on "Create" button again to exit, but no new View is listed on the left-hand-side.

      Perhaps the context of Documents tab or Aggregations tab is affecting the functionality.

      Expected Results

      Duplicate View creates a new View with the new Name listed on the LHS.

      Create a View as a new view without dialog window obscuring screen.

      Modify View can modify a view without error messages

      Also expect all error messages to be informative enough for user to understand. It's not clear what "viewOn" is.

      Actual Results

      What do you observe is happening?
      Duplicate View:
      Duplicate View dialog window should not occasionally freeze. It looks like there should be a moving circle icon, but it's frozen and stays on the screen.
      Also when first entering a duplicate name (the error is right). However, still in the same window, append the name with, say "1", the new View is added, but the dialog box remains on the screen.

      Create View:
      "Create In Progress" dialog window stays on the screen but no new view is created.
      Have also created a new View, but the dialog window also stays on the screen but see the LHS list add the new View.
      Modify View/Source:
      Creates a new window tab every time the action is run, but should this refer to the single, original View?

      This is not a time-series application.

      Additional Notes

      Used 1.26.1 as a frame of reference

        1. image-2022-02-02-11-30-30-161.png
          image-2022-02-02-11-30-30-161.png
          324 kB
        2. Screen Shot 2022-02-02 at 11.05.50 AM.png
          Screen Shot 2022-02-02 at 11.05.50 AM.png
          397 kB
        3. Screen Shot 2022-02-02 at 11.05.36 AM.png
          Screen Shot 2022-02-02 at 11.05.36 AM.png
          366 kB
        4. Screen Shot 2022-02-02 at 11.03.32 AM.png
          Screen Shot 2022-02-02 at 11.03.32 AM.png
          399 kB
        5. image-2022-02-02-11-33-44-504.png
          image-2022-02-02-11-33-44-504.png
          79 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: