Menu

#9 Wrong behavior of the "Save preferences" functionality

1.11.0
closed-fixed
None
5
2013-07-28
2013-06-20
No

If the tool was started with a specific config file (e.g.: the email notification section was changed in the config.xml file), when the user saves the preferences (Project-->Preference-->Save Preferences). In the config file from home directory (../.quickRev/config/main) also the current email notification template is saved (the one from given config file). This is happening even when the user does not change anything in the Preferences Window.

This is a problem because from now on each time the tool will be started, the config file from home directory will be used instead of the file used as parameter at start up.

Expected behavior:
The Tool should save in the user config file (from home directory) only what was changed from Preference window.

1 Attachments

Discussion

  • Tom Seidel

    Tom Seidel - 2013-06-20
    • Priority: 2 --> 5
     
  • Tom Seidel

    Tom Seidel - 2013-06-20

    Normally QuickRev stores the changes only - I just checked this for the Email Notification preferences and it works, but there is a little problem with newlines in the config files which will be eliminated during further run.

    Please check the configuration file you loaded and make sure that there is no newline, in the EmailNotification section, which is not finished with a trailing <br/> tag.

    To circumvent such problems you can go the other way 'round - configure your email templates in QuickRev and copy the content from your local settings to the config file you want to use globally.

     
  • Tom Seidel

    Tom Seidel - 2013-07-28
    • status: open --> closed-fixed
     
  • Tom Seidel

    Tom Seidel - 2013-07-28

    fixed with release 1.11.0:
    do not save email notification preferences to local config file if nothing has changed (because of non-html newlines and trailing spaces)

     

Log in to post a comment.