Set uuid on Management instance to avoid null in logs during tests
This commit is contained in:
parent
005d9a2427
commit
35be405f8e
|
@ -390,6 +390,7 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
|
||||||
element.setProperty(IdentifiableElement.HEADER_PROPERTY, entityHeader);
|
element.setProperty(IdentifiableElement.HEADER_PROPERTY, entityHeader);
|
||||||
} else {
|
} else {
|
||||||
entityHeader = HeaderUtility.addHeader(element, null);
|
entityHeader = HeaderUtility.addHeader(element, null);
|
||||||
|
uuid = entityHeader.getUUID();
|
||||||
}
|
}
|
||||||
|
|
||||||
getWorkingContext().addElement(element, oDatabaseDocument);
|
getWorkingContext().addElement(element, oDatabaseDocument);
|
||||||
|
|
Loading…
Reference in New Issue