This class define a constant for the default repository name
private static final String DEFAULT_REPO_NAME = "default";
which can throw exception if the default repository name is different, which is the case in the unit tests for example.
When the repository name is not provided, we should rely on
RepositoryManager repositoryManager = Framework.getService(RepositoryManager.class); repositoryName = repositoryManager.getDefaultRepositoryName();
- is related to
-
NXP-22450 Allow bare document references without repository name
- Resolved