[COMPASS-7269] Compass should start even when preferences validation fails Created: 27/Sep/23  Updated: 29/Oct/23  Resolved: 27/Sep/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.40.2

Type: Bug Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Basit Chonka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Issue Links:
Related
related to COMPASS-7266 After loading compass the main screen... Open
related to COMPASS-7263 The application stays on a white scre... Closed
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Lambeosaurus

 Description   

We might need a disallow list for preferences like networkTraffic, but for others we should probably fall back to the defaults.

If the .json file is not valid JSON, then replace it with defaults.

Let's also add tests.



 Comments   
Comment by Githook User [ 17/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: investigate-update-preview
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 03/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: export-to-language-v6
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 02/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: ai-accuracy-tests
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 02/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: feature/COMPASS-7246
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: search-indexes-autocomplete
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: COMPASS-6976-stage-snippet
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 27/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: ga-releases
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 27/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: main
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

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