Hi, Thanks. If changeEvents is empty i will return the changeLogToken from the request. And if that is null, then latestChangeLogToken from getRepositoryInfo.
Michael On Tue, Oct 23, 2012 at 5:54 PM, Florian Müller <[email protected]> wrote: > Hi Michael, > > The spec also says: > "Repositories that support the changeLogToken event MUST expose the latest > change log token (i.e. the change log token corresponding to the most recent > change to any object in the repository) as a property returned by the > getRepositoryInfo service." > > That sounds to me that the latestChangeLogToken must not be null if > getContentChanges is supported. > > If there are no initial changes, you could return a token that expresses > that. > > > Florian > > > > >> Hi, >> >> What should latestChangeLogToken be if getContentChanges returns no >> changes? >> >> The spec says >> "String latestChangeLogToken: The change log token corresponding to >> the last change event in changeEvents." >> However, changeEvents is empty, so there is no last change. >> >> Currently I return null, but the tck checks for not null in >> ContentChangesSmokeTest (line 65). >> Maybe the tck should only do that check if changeEvents is not empty. >> >> Michael > >
