Fixed bug
This commit is contained in:
parent
e148a0b253
commit
00a3efb1f6
|
@ -399,7 +399,7 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
|
|||
|
||||
public JsonNode serializeSelfAsJsonNode() throws ResourceRegistryException {
|
||||
try {
|
||||
if(self==null) {
|
||||
if(self==null || reload) {
|
||||
self = createSelfJsonNode();
|
||||
}
|
||||
return self.deepCopy();
|
||||
|
@ -412,7 +412,7 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
|
|||
|
||||
public JsonNode serializeAsJsonNode() throws ResourceRegistryException {
|
||||
try {
|
||||
if(complete==null) {
|
||||
if(complete==null || reload) {
|
||||
complete = createCompleteJsonNode();
|
||||
}
|
||||
return complete;
|
||||
|
|
Loading…
Reference in New Issue