Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
OpenCMIS 0.11.0
-
None
Description
AtomPub GetRepositories.serve() asserts repositoryId != null and then a few lines later sets repositoryId = getStringParameter(request, Constants.PARAM_REPOSITORY_ID).
This causes problems in the following CmisAtomPubServlet.dispatch() code where the Dispatcher invokes AtomPub GetRepositories.serve() with a null repositoryId:
if (pathFragments.length < 2) { // root -> service document dispatcher.dispatch("", METHOD_GET, context, service, null, request, response); return; }
The simple fix is to remove the repositoryId != null assertion from GetRepositories.serve().
Attachments
Issue Links
- relates to
-
CMIS-879 Bad assertion while trying to list repositories with browser binding
- Resolved