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 {
|
public JsonNode serializeSelfAsJsonNode() throws ResourceRegistryException {
|
||||||
try {
|
try {
|
||||||
if(self==null) {
|
if(self==null || reload) {
|
||||||
self = createSelfJsonNode();
|
self = createSelfJsonNode();
|
||||||
}
|
}
|
||||||
return self.deepCopy();
|
return self.deepCopy();
|
||||||
|
@ -412,7 +412,7 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
|
||||||
|
|
||||||
public JsonNode serializeAsJsonNode() throws ResourceRegistryException {
|
public JsonNode serializeAsJsonNode() throws ResourceRegistryException {
|
||||||
try {
|
try {
|
||||||
if(complete==null) {
|
if(complete==null || reload) {
|
||||||
complete = createCompleteJsonNode();
|
complete = createCompleteJsonNode();
|
||||||
}
|
}
|
||||||
return complete;
|
return complete;
|
||||||
|
|
Loading…
Reference in New Issue