User prefererences [message #1847561] |
Mon, 01 November 2021 12:49 |
Luis Nothvogel Messages: 56 Registered: October 2019 |
Member |
|
|
Hi all,
It seems that since I updated to Scout 11 the User prefererences aren´t updated anymore. I coudn´t find anything in the technical guide. Do i have to change something so it works again?
I haven´t set the scout.client.userArea Setting, so it should be using the home directory. I also can find all the preference files, but they just dont get updated.
Thanks in advance :)
Edit: It gets updated but as soon as i log out and in again the prefs file gets overriden with the default values. What am i doing wrong?
[Updated on: Mon, 01 November 2021 13:38] Report message to a moderator
|
|
|
|
Re: User prefererences [message #1847781 is a reply to message #1847561] |
Mon, 08 November 2021 09:01 |
|
No, there were no changes related to the preferences. And when I just tested it locally, it worked fine.
To debug, check the following locations:
org.eclipse.scout.rt.client.services.common.prefs.FileSystemUserPreferencesStorageService
Verify that flushToDisk() is called when you change something (e.g. column width) that the data is written to the location you expect.
If you add a breakpoint in the load() method and restart your app, you should be able to verify that the exact same data is aready again.
org.eclipse.scout.rt.shared.services.common.prefs.Preferences
By adding a breakpoint to the clear() method, verify that your loaded preferences are not reset automatically.
org.eclipse.scout.rt.client.ui.ClientUIPreferences
If you still have no hint about what the problem is, add a breakpoint to one of the methods, e.g. getTableColumnWidth() and compare the requested keys with the data contained in the preferences map.
Regards,
Beat
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03596 seconds