chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: Behavior of getAllVersions on non versionable types
Date Tue, 30 Jul 2013 06:03:29 GMT
 Hi Carlo,

 The spec doesn't define an exception in this case. Most repositories I 
 know throw an invalidArgument exception here.


 - Florian


> Hi all,
>
> the current response for a getAllVersion call on a non-versionable
> document results
> in a
> 
> 500<https://github.com/apache/chemistry-opencmis/blob/android/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/VersioningService.java#L109>.
> I can't find any clear instruction in the spec, would return 
> something else
> (e.g. 204) break compatibility with the spec?
>
> Thanks,
> c.

Mime
View raw message