Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
0.18
-
None
-
Unknown
-
Description
Reproduction steps
- start electron
- edit a configuration where homePage is not defined
- change an unrelated value (e.g., the editor)
- save the config
- inspect the content
Expected
Only the value of the editor field is changed
Actual
A lot of values are initialized to the empty string instead of staying undefined.
For instance, before modification, the config was
"FileSystem": { "name": "FileSystem", "configType": "FileSystem", "serverRendering": false, "offline": false, "designSystem": "vuetify", "editor": "tiptap" }
And is like below after save. Notice the baseURL, baseRestURL, homePage, storageRoot and realtimeURL initialized to the empty string.
"FileSystem": { "name": "FileSystem", "configType": "FileSystem", "serverRendering": false, "offline": false, "designSystem": "vuetify", "editor": "blocknote", "baseURL": "", "baseRestURL": "", "homePage": "", "storageRoot": "", "realtimeURL": "", "authenticationBaseURL": "" }