Fixing #24225
This commit is contained in:
parent
9c0d0eeae2
commit
9cd326be98
|
@ -894,7 +894,7 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
|
|||
return PropertyElementManagement.getPropertyDocument(value);
|
||||
|
||||
case ARRAY:
|
||||
return value;
|
||||
break;
|
||||
|
||||
case BINARY:
|
||||
break;
|
||||
|
@ -1076,6 +1076,8 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
|
|||
if(object != null) {
|
||||
if(object instanceof ODocument) {
|
||||
element.setProperty(key, object, OType.EMBEDDED);
|
||||
}else if(object instanceof ArrayNode){
|
||||
element.setProperty(key, object, OType.EMBEDDEDLIST);
|
||||
}else {
|
||||
element.setProperty(key, object);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue