[COMPASS-5440] "Edit View" button removed after update view, Compass forgets which collections are views Created: 19/Jan/22  Updated: 03/Oct/23  Resolved: 10/Jun/22

Status: Closed
Project: Compass
Component/s: Views
Affects Version/s: 1.30.1
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Igor Schouten Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10, Compass 1.30.1


Attachments: PNG File Picture 1.png    
Issue Links:
Duplicate
is duplicated by COMPASS-5794 Modify and duplicate view not working... Open
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

When opening Compass, and pressing the 'Edit View' button on an existing view, and then saving it, seems to work. But from then on, the 'Edit View' button is gone, and even though the left-bar menu still displays the 'eye' icon next to the View, Compass otherwise seems to have forgotten this is a View, and does not display the 'Edit View' button in the top bar. (see screenshot)

Steps to Reproduce


Connect to a cluster with an existing View,

Click 'Edit View',

Make some changes and Save the view.

Any View on the cluster now has no 'Edit View' button anymore that we can click on. Also, the 'modify view' in the right-click context menu when clicking on a view, is non-responsive. 

It seems like Compass misidentifies some collections as non-views after 1 view is modified.

Expected Results

After saving a view, Compass will still show the 'Edit View' button when clicking on other views, and the right-click Modifiy View context menu will work.

Actual Results

No more Edit View button, non-responsive context menu for Modify View.

Additional Notes

Any additional information that may be useful to include.



 Comments   
Comment by Maurizio Casimirri [ 10/Jun/22 ]

Thanks for reporting this, closing it as duplicate, please follow https://jira.mongodb.org/browse/COMPASS-5794 for a fix

Generated at Wed Feb 07 22:39:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.