[ 
https://issues.apache.org/jira/browse/CMIS-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13613585#comment-13613585
 ] 

linzhixing commented on CMIS-641:
---------------------------------

Thanks, but I did a test to get RepositoryInfo with "canCreatePolicy.Folder" 
string manually added, and got the following error.
The string might also lack in EnumAllowableActionsKey class. I dont' know if 
there is any other place to be added the string.


ERROR  printError, canCreatePolicy.Folder
java.lang.IllegalArgumentException: canCreatePolicy.Folder
        at 
org.apache.chemistry.opencmis.commons.impl.jaxb.EnumAllowableActionsKey.fromValue(EnumAllowableActionsKey.java:144)
        at 
org.apache.chemistry.opencmis.commons.impl.Converter.convert(Converter.java:470)
        at 
org.apache.chemistry.opencmis.commons.impl.Converter.convert(Converter.java:381)
        at 
org.apache.chemistry.opencmis.server.impl.atompub.ServiceDocument.writeRepositoryInfo(ServiceDocument.java:66)
        at 
org.apache.chemistry.opencmis.server.impl.atompub.RepositoryService.getRepositories(RepositoryService.java:180)
        at 
org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.dispatch(CmisAtomPubServlet.java:214)
        at 
org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.service(CmisAtomPubServlet.java:172)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
        at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
                
> A constant lacks in PermissionMapping class
> -------------------------------------------
>
>                 Key: CMIS-641
>                 URL: https://issues.apache.org/jira/browse/CMIS-641
>             Project: Chemistry
>          Issue Type: Bug
>    Affects Versions: OpenCMIS 0.9.0 beta 1
>            Reporter: linzhixing
>            Assignee: Florian Müller
>            Priority: Trivial
>             Fix For: OpenCMIS 0.9.0
>
>
> This is a trivial issue, the "canCreatePolicy.Folder" key constant lacks in 
> opencmis.commons.data.PermissionMapping class. As far as I see, it is just 
> the only one which is not found. See spec 2.1.12.3.2.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to