Uploaded image for project: 'Cristal'
  1. Cristal
  2. CRISTAL-576

homePage is set to the empty string when editing a configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 0.18
    • Settings
    • None
    • Unknown

    Description

      Reproduction steps

      1. start electron
      2. edit a configuration where homePage is not defined
      3. change an unrelated value (e.g., the editor)
      4. save the config
      5. 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": ""
      } 

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: