-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
Not Needed
-
None
-
Developer Tools
Problem Statement/Rationale
This is the cause of https://jira.mongodb.org/browse/HELP-80375
The problems started to appear when we updated electron from v32 to v36 https://github.com/mongodb-js/compass/pull/6964/files.
FSLogix changes the %APPDATA% variable, which is what we should be getting for the userData path (see https://github.com/electron/electron/blob/main/docs/api/app.md?plain=1#L602)
This is what we should be getting here:
As is visible from the error, we are getting the original path.