Validate new namespace on rename

This commit is contained in:
René Pfeuffer
2020-09-07 15:02:59 +02:00
parent 4ee7ba4641
commit 5c11657858
3 changed files with 19 additions and 2 deletions

View File

@@ -261,6 +261,7 @@ public class DefaultRepositoryManager extends AbstractRepositoryManager {
throw new ChangeNamespaceNotAllowedException(repository);
}
changedRepository.setNamespace(newNamespace);
strategy.createNamespace(changedRepository);
}
managerDaoAdapter.modify(