[COMPASS-4353] Compass reports `view on: myDb.undefined` on first load with Online Archive Created: 15/Jul/20  Updated: 29/Oct/23  Resolved: 14/Oct/20

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.21.2
Fix Version/s: 1.23.0, 1.24.1

Type: Bug Priority: Major - P3
Reporter: Nic Cottrell Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2020-07-15 at 3.31.12 PM.png    
Issue Links:
Related
Documentation Changes: Not Needed
Sprint: Iteration Jackfruit, Iteration Lime, Iteration Nectarine, Iteration Orange

 Description   

Note: I'm not sure if this is related only to the new  Online Archive beta.

Steps to reproduce

  1. Connect to my cluster via mongodb://atlas-online-archive-cluster1-vy6re.a.query.mongodb.net/<dbname>
  2. Navigate to myDb then myColl
  3. See the title myDb.myColl is suffixed with: (view on: myDb.undefined)
  4. Navigate to a different database and collection.
  5. Navigate back to myDb then myColl
  6. Title now correctly says just myDb.myColl



 Comments   
Comment by Githook User [ 22/Oct/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4353 - Update more deps for better readonly/view handling (#2033)

f18f4f65ccea0c812 only fixed this for accessing collections from
the sidebar, this does so for accessing them from the
collections table.
Branch: 1.23-releases
https://github.com/mongodb-js/compass/commit/57f2001e57c0bcf1da568b083c9642da5877b0b5

Comment by Anna Henningsen [ 14/Oct/20 ]

See the comment above for why this has 2 fix versions

Comment by Githook User [ 15/Sep/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'github@addaleax.net', 'username': 'addaleax'}

Message: COMPASS-4353 - Update dependencies for better readonly/view handling (#2015)

Includes:

Comment by Githook User [ 15/Sep/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4353 - Update dependencies for better readonly/view handling

Includes:

Comment by Githook User [ 15/Sep/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4353 - Update dependencies for better readonly/view handling

Includes:

Comment by Githook User [ 15/Sep/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'github@addaleax.net', 'username': 'addaleax'}

Message: COMPASS-4353 - Do not report bogus readonly key from collectionStats (#256)

`collStats` does not provide the `readonly` information, so don’t
make up a possibly incorrect value and instead omit the key.
Branch: master
https://github.com/mongodb-js/data-service/commit/e72002222b3edb1630e405c3ac32e0a13e066598

Comment by Githook User [ 15/Sep/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4353 - Do not report bogus readonly key from collectionStats

`collStats` does not provide the `readonly` information, so don’t
make up a possibly incorrect value and instead omit the key.
Branch: 4353-dev
https://github.com/mongodb-js/data-service/commit/bc958a7ec97deee61d89ee8d2e7445c9eb7369e8

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