chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bittard, Julien" <julien.bitt...@cgi.com>
Subject Problem with special caracter
Date Mon, 12 Oct 2015 14:22:17 GMT
Hi,

We use opencmis 0.10.0 in order to implement a java client to Alfresco.
We have an issue with doc that name contains the character  euro : €

We’ve got an error with the method « getContentStream » :
org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Mauvaise Requête
        at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:458)
        at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.getContentStream(ObjectServiceImpl.java:591)
        at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getContentStream(SessionImpl.java:1038)
        at org.apache.chemistry.opencmis.client.runtime.DocumentImpl.getContentStream(DocumentImpl.java:383)
        at org.apache.chemistry.opencmis.client.runtime.DocumentImpl.getContentStream(DocumentImpl.java:370)

The url generated by the method is :
GET http://alfr-app-p02.cg93.fr:8080/alfresco/cmisatom/68630e77-3399-49bd-9eb2-554460d8c5db/content/1444312027773_Mandat%20n%C2%B0%2066815-Etat%20de%2015%20%5Cu20AC%20du%208.10.2015.pdf?id=workspace%3A%2F%2FSpacesStore%2F7afafcb1-ca72-4a4e-8dcb-5d6a47e36a9c%3B1.0

The real name of the doc is : 1444312027773_Mandat n° 66815-Etat de 15 € du 8.10.2015.pdf

Have You An idea to help me ?

Thank You

Julien
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message