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

A view definition is never refreshed after the first load

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.29.6
    • Component/s: Views
    • None
    • 3

      Problem Statement/Rationale

      When Compass connects to a cluster, it loads dbs, collections, and views. Views come with the information about the pipeline that represents the view. That pipeline is however never refreshed and if I go and edit it I see the old version if in the meanwhile the view definition was changed outside of the Compass instance.

      The only way to get it refreshed is reconnecting. Even the refresh button on the sidebar does not help.

      Steps to Reproduce

      Open Compass, connect to a cluster that has views.

      Open a second Compass, connect to the same cluster and edit the definition of a view.

      1. Go back to the first Compass and edit the view.
      2. Refresh and edit the view again.

      Expected Results

      at least in case 2 the view definition should be the new one

      Actual Results

      the view definition remains the old one until the user reconnects

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            Unassigned Unassigned
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: