mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
[MNT-21901] Prevent update preferences concurrency errors (#821)
* [MNT-21901] Added PersistenceException to retry exceptions. Added validation to get retry cause * [MNT-21901] Check exception message only if it is JavaScriptException * [MNT-21901] Removed unit test from repository. Added new test on remote-api. Changed ExceptionStackUtil validation. * [MNT-21901] Improved JavascriptException validation. Added exception delimiter to prevent accepting exceptions with the same partial name.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
function testPreferences()
|
||||
{
|
||||
var preferences = {
|
||||
"org.alfresco.share.forum.summary.dashlet.component-1-3.history": "1"
|
||||
};
|
||||
|
||||
preferenceService.setPreferences(username, preferences);
|
||||
}
|
||||
|
||||
// Execute tests
|
||||
testPreferences();
|
Reference in New Issue
Block a user