fix updateVO method

This commit is contained in:
Roberto Cirillo 2019-10-22 18:56:12 +02:00
parent 5e45fd82d6
commit 565312cbb0
1 changed files with 2 additions and 2 deletions

View File

@ -239,8 +239,8 @@ public class RegistryPublisherImpl implements RegistryPublisher {
vosScopes.remove(currentVO);
// in this case it is a root-vo scope so we need to update the resource only at root-vo level
}else{
RegistryStub stub = getRegistryStub();
createResource(resource, currentVO, stub);
ScopeProvider.instance.set(currentScope);
registryUpdate(resource, 0);
return resource;
}