chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Tang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CMIS-872) ChangeEvents.getLatestChangeLogToken returns null in Atompub binding
Date Thu, 20 Nov 2014 21:37:34 GMT

     [ https://issues.apache.org/jira/browse/CMIS-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vincent Tang resolved CMIS-872.
-------------------------------
    Resolution: Fixed

I added <chemistry:changeLogToken xmlns:chemistry="http://chemistry.apache.org/">someToken</chemistry:changeLogToken>
in my feed. now it works.

> ChangeEvents.getLatestChangeLogToken returns null in Atompub binding
> --------------------------------------------------------------------
>
>                 Key: CMIS-872
>                 URL: https://issues.apache.org/jira/browse/CMIS-872
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.12.0
>         Environment: Windows 64 bits, JDK 1.7 update 60
>            Reporter: Vincent Tang
>              Labels: getContentChanges
>
> Our test code is like
>         ChangeEvents changeEvents = session.getContentChanges(latestChangeLogToken, false,
25;
>         
>         String newlatestChangeLogToken = changeEvents.getLatestChangeLogToken();
>         assertNotNull(newlatestChangeLogToken);
> But ChangeEvents.getLatestChangeLogToken returns null. I looked at the response feed.
I cannot figure out which part is missing. Can you tell from which field OpenCMIS Client API
reads the latestChangeLogToken in the feed?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message