Community
Participate
Working Groups
For some reason when adding a repository that already exists, the repository manager seems to return a new instance of a metadata repository and delete the old one from its internal structure, thus causing multiple instance of the same repository to be available and causing consistency issue when the returned metadata repository does not check for data validity.
I have moved the check for existence at the beginning of the method. We now return the existing instance.