chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "linzhixing (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-674) OpenCMIS updateProperties does not send changeToken
Date Wed, 19 Jun 2013 07:43:19 GMT
linzhixing created CMIS-674:
-------------------------------

             Summary: OpenCMIS updateProperties does not send changeToken
                 Key: CMIS-674
                 URL: https://issues.apache.org/jira/browse/CMIS-674
             Project: Chemistry
          Issue Type: Bug
    Affects Versions: OpenCMIS 0.9.0 beta 1
            Reporter: linzhixing


I'm testing Update Smoke Test in TCK and find:

-On the cliend side, AbstractCmisObject#updateProperties send changeToken with value(like
"383" etc.)
-But on the server side via AtomPub binding, ObjectService#updateProperties tries to get the
changeToken on line:468, which results in null value.
-My CMIS server implements updateConflict error, so I got an error.

This is I think because the client's updateProperties send only changed properties in the
"properties" argument and the server tries to extract the token from within the properties.

Is this a bug? Which is the best way to pass changeToken?
I have already tested from other CMIS client library to send changeToken included in the "changed"
properties, which itself is not actually a changed property and succeeded in updating.

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

Mime
View raw message