刚刚安装的 Alfresco 没有 return latestChangeLogToken:关于 CMIS 协议是否可以?

Just-installed Alfresco does not return a latestChangeLogToken: Is it OK in regard to the CMIS protocol?

这是我所做的:

  1. 已安装+启动+停止 Alfresco 5.0.c
  2. Enabled CMIS ChangeLog 在户外
  3. 再次开始 Alfresco
  4. http://server/alfresco/api/-default-/public/cmis/versions/1.1/atom/changes发送了一个请求

问题The HTTP response是否包含<cmis:latestChangeLogToken>元素。

关于 CMIS protocol 可以吗?

我是不是做错了什么? 或者我应该假设一个空值作为标记,并确保从下一次更改开始 ChangeLog 标记将永远不会再次变为空值?

不,关于 CMIS 规范,这是不正确的。

所有对 http://server/alfresco/api/-default-/public/cmis/versions/1.1/atom/changes 的请求都必须 return 启用 ChangeLog 时的令牌。

来自CMIS 1.1 specification

2.1.15.3 "Latest Change Token" repository information
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.