Added exception catch while setting description on schema creation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@142210 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6fdb2b2542
commit
97b77f36c6
|
@ -202,7 +202,11 @@ public class SchemaManagementImpl implements SchemaManagement {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeDefinition.getDescription() != null) {
|
if (typeDefinition.getDescription() != null) {
|
||||||
oClass.setDescription(typeDefinition.getDescription());
|
try {
|
||||||
|
oClass.setDescription(typeDefinition.getDescription());
|
||||||
|
}catch (Exception e) {
|
||||||
|
logger.warn("Unable to set description. This is an orient bug. See https://github.com/orientechnologies/orientdb/issues/7065");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue