Skip to content
Snippets Groups Projects
Commit 8d12e00d authored by rhaag's avatar rhaag
Browse files

FXOLAT-422 be more safe

parent 6d8c8b8b
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ public class DbStorage extends LogDelegator implements PreferencesStorage{
Property guiProperty = null;
try {
guiProperty = PropertyManager.getInstance().findProperty(identity, null, null, null, USER_PROPERTY_KEY);
} catch (AssertException e) {
} catch (Exception e) {
// OLAT-6429 detect and delete multiple prefs objects, keep the first one only
List<Property> guiPropertyList = PropertyManager.getInstance().findProperties(identity, null, null, null, USER_PROPERTY_KEY);
if (guiPropertyList != null && guiPropertyList.size() > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment