chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <>
Subject [jira] [Commented] (CMIS-638) getContentChanges returns no <atom:link rel="self"> for a deleted object
Date Thu, 14 Mar 2013 10:26:12 GMT


Florian Müller commented on CMIS-638:

You are mixing up two things here. You are correct that the feed is missing a self link. But
this is independent of the deleted objects. The entry of a deleted object cannot have a self
link because the object doesn't exist anymore. There is no way to directly address a deleted
> getContentChanges returns no <atom:link rel="self"> for a deleted object
> ------------------------------------------------------------------------
>                 Key: CMIS-638
>                 URL:
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-commons
>    Affects Versions: OpenCMIS 0.5.0
>            Reporter: linzhixing
> CMIS specification 3.5.1(Feeds) says that any Atom feed should include an atom link with
relation "self".
> AtomPubUtils#writeContentChangesObjectEntry method makes a change log feed but seems
not to write some atom link containing "self" for objects deleted from the repository. When
I use a "self" link to convert an atom collection to a client framework(ActiveCMIS, Ruby),
it fails.
> I traced the Chemistry code and found:
> -writeContentChangesObjectEntry firstly initializes an objectInfo instance.
> -AbstractCmisService#getObjectInfo tries to make an objectInfo referring to the objectData
in the repository.
> -But objectData for deleted objects are already lost from the repository, of course,
and objectInfo is returned as null.
> -If objectInfo is null, writeContentChangesObjectEntry ends returning null as well. The
following writeSelfLink methods and such thing are all skipped.
> I investigated the above on opencmis-server-bindings-0.5.0 but it is still the case on
the latest 0.9.0-beta.
> Is is to be considered a bug of OpenCMIS implementation or am I wrong in the interpretation
of CMIS specification?

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:

View raw message