Skip to content
Snippets Groups Projects
Commit 03ded7fe authored by srosse's avatar srosse
Browse files

OO-1015: don't log NoSuchFieldException while exporting a group, if the field...

OO-1015: don't log NoSuchFieldException while exporting a group, if the field don't exist, we want that it doesn't exist
parent 5ffbd92d
No related branches found
No related tags found
No related merge requests found
......@@ -142,6 +142,8 @@ public class BusinessGroupImportExport {
try {
Field field = toolsConfig.getClass().getField(availableTools[i]);
field.setBoolean(toolsConfig, ct.isToolEnabled(availableTools[i]));
} catch(NoSuchFieldException e) {
//no field to fill (hasOpenMeetings is not set for backwards compatibility)
} catch (Exception e) {
log.error("", e);
}
......
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