You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by Nicolas BRANDT <Ni...@numendigital.fr> on 2014/10/23 11:42:01 UTC

Browser Binding Client misinterprets changeToken of objects

Hi all,

We are using browser binding client (1.0.0-SNAPSHOT at revision 1572112) to test our own CMIS server implementation (based on your cmis server framework).
When we had fully handled the changeToken property of objects, we found that browser binding client returned wrong value of the changeToken for the object updates functions :
- updateProperties
- setContentStream
- appendContentStream
- deleteContentStream

It always returns a changeToken’s value like “Property [id=cmis:changeToken, display Name=null, local name=null, query name=null, values=[45678521]][extensions=null]” instead of its real value “45678521” (in this example).

We made some modifications to the org.apache.chemistry.opencmis.client.bindings.spi.browser.ObjectServiceImpl class not to be blocked (the patch file is in attachment if you want to use it).

Best regards,
Nicolas Brandt.

Nicolas BRANDT

Ingénieur développement



NUMEN DIGITAL | 24 Rue Marc Seguin 75018 Paris France | www.numen.fr<http://www.numen.fr>
Tel +33 1 40 37 94 82 | Mob +33 7 88 05 89 61



<http://www.numen.fr/fr/numen-heritage>[cid:image9bd22d.JPG@0ee9c4e3.4b8015ed]<http://www.numen.fr/fr/patrimoine-documentaire>



<http://linkedin.com/company/numen>[cid:image46807d.PNG@0198e16d.4d819ba7]<https://www.linkedin.com/company/numen>


Pensez vert, n’imprimez que nécessaire. Les informations contenues dans le présent e-mail sont exclusivement adressées au(x) destinataire(s) de ce message et peuvent contenir des informations confidentielles, protégées par un secret professionnel. L’utilisation de ces informations par d’autres personnes que le(s) destinataire(s) est strictement interdite. Si vous n’êtes pas destinataire de ce message, la publication, la reproduction, la diffusion et /ou la distribution de ces informations auprès de tiers n’est pas autorisée. Si vous avez reçu cet e-mail par erreur, veuillez nous en informer immédiatement, détruire l'email, ses copies et documents joints et le supprimer.


Re: Browser Binding Client misinterprets changeToken of objects

Posted by Florian Müller <fm...@apache.org>.
Hi Nicolas,

Thanks for your email. I'll fix this issue as soon as possible.

Please create a bug report here:
https://issues.apache.org/jira/browse/CMIS


Thanks,

Florian


> Hi all,
> 
> We are using browser binding client (1.0.0-SNAPSHOT at revision
> 1572112) to test our own CMIS server implementation (based on your
> cmis server framework).
> 
> When we had fully handled the changeToken property of objects, we
> found that browser binding client returned wrong value of the
> changeToken for the object updates functions :
> 
> - updateProperties
> 
> - setContentStream
> 
> - appendContentStream
> 
> - deleteContentStream
> 
> It always returns a changeToken’s value like “Property
> [id=cmis:changeToken, display Name=null, local name=null, query
> name=null, values=[45678521]][extensions=null]” instead of its real
> value “45678521” (in this example).
> 
> We made some modifications to the
> org.apache.chemistry.opencmis.client.bindings.spi.browser.ObjectServiceImpl
> class not to be blocked (the patch file is in attachment if you want
> to use it).
> 
> Best regards,
> 
> Nicolas Brandt.
> 
>  Nicolas BRANDT
> 
> Ingénieur développement
> 
> NUMEN DIGITAL | 24 Rue Marc Seguin 75018 Paris France | www.numen.fr
> [1]
>  Tel +33 1 40 37 94 82 | Mob +33 7 88 05 89 61
> 
>  [2] [3]
> 
>  [4] [5]
> 
>  Pensez vert, n’imprimez que nécessaire. Les informations contenues
> dans le présent e-mail sont exclusivement adressées au(x)
> destinataire(s) de ce message et peuvent contenir des informations
> confidentielles, protégées par un secret professionnel.
> L’utilisation de ces informations par d’autres personnes que le(s)
> destinataire(s) est strictement interdite. Si vous n’êtes pas
> destinataire de ce message, la publication, la reproduction, la
> diffusion et /ou la distribution de ces informations auprès de tiers
> n’est pas autorisée. Si vous avez reçu cet e-mail par erreur,
> veuillez nous en informer immédiatement, détruire l'email, ses
> copies et documents joints et le supprimer.
> 
> 
> 
> Links:
> ------
> [1] http://www.numen.fr
> [2] http://www.numen.fr/fr/numen-heritage
> [3] http://www.numen.fr/fr/patrimoine-documentaire
> [4] http://linkedin.com/company/numen
> [5] https://www.linkedin.com/company/numen