-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.1
-
None
-
None
-
-
Empty show more show less
When an acl is set on an unmapped repository (this typically happens with dms if the dms module is not installed) a WARN is traced in the log by ContentRepository.getRepositoryMapping():
WARN info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(getRepositoryMapping:564) 17.02.2007 22:43:39 no mapping for the repository [dms]
this should not happen since the code in JCRAuthorizationModule does:
if (!ContentRepository.hasRepositoryMapping(repositoryName))
{ // may be: default users may have permissions for the workflow or dms repositories, but // if the optional modules are not installed no ACL should be set continue; }workspaceName = ContentRepository.getDefaultWorkspace(name);
but ContentRepository.getDefaultWorkspace(name) does a different check than hasRepositoryMapping() in order to determine if a repository has been registered.
Acceptance criteria