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

Mouad EL BAKKALI edited comment on CMIS-665 at 6/6/13 12:18 PM:
----------------------------------------------------------------

I don't think so. Because I'm using a server where the PropertyIds.java class 
is modified (replacing all ":" by "-" in "cmis:..." properties), due to my JSON 
reader (or any other standard reader) that can't read properly the default JSON 
output/response.

I think I might get back to my first solution whee I replace ":" in cmis 
properties by "-" in the HTTP Servlet response rather than changing the 
opencmis-commons-api jar itself.
                
      was (Author: emowpy):
    I don't think so. Because I'm using a server where the PropertyIds.java 
class is modified (replacing all ":" by "-" in "cmis:..." properties), due to 
my JSON reader (or any other standard reader) that can't read properly the 
default JSON output/response.

I think I might get back to my first solution whee I replace ":" in cmis 
properties by "-" in the HTTP Servelr response rather than changing the 
opencmis-commons-api jar itself.
                  
> load primary type in AbstractBrowserServiceCall
> -----------------------------------------------
>
>                 Key: CMIS-665
>                 URL: https://issues.apache.org/jira/browse/CMIS-665
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>            Reporter: Mouad EL BAKKALI
>
> While trying to create a document, loading the primary type fails in:
> {code:title=AbstractBrowserService.java}
> ....
>        // load primary type
>         List<String> objectTypeIdsValues = 
> properties.get(PropertyIds.OBJECT_TYPE_ID);
>         if (objectTypeIdsValues != null && !objectTypeIdsValues.isEmpty()) {
>             TypeDefinition typeDef = 
> typeCache.getTypeDefinition(objectTypeIdsValues.get(0));
>             if (typeDef == null) {
>                 throw new CmisInvalidArgumentException("Invalid type: " + 
> objectTypeIdsValues.get(0));
>             }
>         }
> ....
> {code}
> objectTypeIdsValues = null.

--
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