[jira] [Commented] (CMIS-983) DotCMIS IChangeEvents.LatestChangeLogToken returns same token as given to GetContentChanges
[
https://issues.apache.org/jira/browse/CMIS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346187#comment-15346187
]
Florian Müller commented on CMIS-983:
-
At the moment, you can only set the maxNumItems parameter to a really high
value.
There is code in OpenCMIS to handle this, but it has not been ported to
DotCMIS, yet.
> DotCMIS IChangeEvents.LatestChangeLogToken returns same token as given to
> GetContentChanges
> ---
>
> Key: CMIS-983
> URL: https://issues.apache.org/jira/browse/CMIS-983
> Project: Chemistry
> Issue Type: Bug
> Components: dotcmis
>Affects Versions: DotCMIS 0.7
> Environment: Alfresco 5, Windows 7, Visual Studio 2010, .NET 4.0
>Reporter: Nicolas Raoul
>Assignee: Florian Müller
>
> This code loops forever:
> IChangeEvents changes;
> do
> {
> changes = session.GetContentChanges(token, false, 3);
> token = changes.LatestChangeLogToken;
> }
> while (changes.HasMoreItems ?? false);
> ... because LatestChangeLogToken returns the same token as the one provided
> to GetContentChanges.
> Instead, LatestChangeLogToken should return the token of the latest change
> contained in the IChangeEvents object, if my understanding is correct.
> Read-to-run minimal code showing the problem:
> https://github.com/nicolas-raoul/dotcmis-issue983
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[jira] [Commented] (CMIS-983) DotCMIS IChangeEvents.LatestChangeLogToken returns same token as given to GetContentChanges
[
https://issues.apache.org/jira/browse/CMIS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346138#comment-15346138
]
Nicolas Raoul commented on CMIS-983:
AtomPub indeed:
https://github.com/nicolas-raoul/dotcmis-issue983/blob/master/dotcmis-issue983/Program.cs
Is there any way to get all changes from an AtomPub-only server using DotCMIS?
Thank you!
> DotCMIS IChangeEvents.LatestChangeLogToken returns same token as given to
> GetContentChanges
> ---
>
> Key: CMIS-983
> URL: https://issues.apache.org/jira/browse/CMIS-983
> Project: Chemistry
> Issue Type: Bug
> Components: dotcmis
>Affects Versions: DotCMIS 0.7
> Environment: Alfresco 5, Windows 7, Visual Studio 2010, .NET 4.0
>Reporter: Nicolas Raoul
>Assignee: Florian Müller
>
> This code loops forever:
> IChangeEvents changes;
> do
> {
> changes = session.GetContentChanges(token, false, 3);
> token = changes.LatestChangeLogToken;
> }
> while (changes.HasMoreItems ?? false);
> ... because LatestChangeLogToken returns the same token as the one provided
> to GetContentChanges.
> Instead, LatestChangeLogToken should return the token of the latest change
> contained in the IChangeEvents object, if my understanding is correct.
> Read-to-run minimal code showing the problem:
> https://github.com/nicolas-raoul/dotcmis-issue983
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[jira] [Commented] (CMIS-983) DotCMIS IChangeEvents.LatestChangeLogToken returns same token as given to GetContentChanges
[
https://issues.apache.org/jira/browse/CMIS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346120#comment-15346120
]
Florian Müller commented on CMIS-983:
-
Which binding are you using?
(The AtomPub binding doesn't return a new latest change log token. That's a
spec limitation. OpenCMIS based servers send it in propriety tag, which DotCMIS
doesn't notice.)
> DotCMIS IChangeEvents.LatestChangeLogToken returns same token as given to
> GetContentChanges
> ---
>
> Key: CMIS-983
> URL: https://issues.apache.org/jira/browse/CMIS-983
> Project: Chemistry
> Issue Type: Bug
> Components: dotcmis
>Affects Versions: DotCMIS 0.7
> Environment: Alfresco 5, Windows 7, Visual Studio 2010, .NET 4.0
>Reporter: Nicolas Raoul
>Assignee: Florian Müller
>
> This code loops forever:
> IChangeEvents changes;
> do
> {
> changes = session.GetContentChanges(token, false, 3);
> token = changes.LatestChangeLogToken;
> }
> while (changes.HasMoreItems ?? false);
> ... because LatestChangeLogToken returns the same token as the one provided
> to GetContentChanges.
> Instead, LatestChangeLogToken should return the token of the latest change
> contained in the IChangeEvents object, if my understanding is correct.
> Read-to-run minimal code showing the problem:
> https://github.com/nicolas-raoul/dotcmis-issue983
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[jira] [Commented] (CMIS-983) DotCMIS IChangeEvents.LatestChangeLogToken returns same token as given to GetContentChanges
[
https://issues.apache.org/jira/browse/CMIS-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346116#comment-15346116
]
Nicolas Raoul commented on CMIS-983:
Note: This is using the DotCMIS DLL found in
https://www.apache.org/dyn/closer.lua/chemistry/dotcmis/0.7/chemistry-dotcmis-0.7-bin.zip
(not any of my derivatives)
> DotCMIS IChangeEvents.LatestChangeLogToken returns same token as given to
> GetContentChanges
> ---
>
> Key: CMIS-983
> URL: https://issues.apache.org/jira/browse/CMIS-983
> Project: Chemistry
> Issue Type: Bug
> Components: dotcmis
>Affects Versions: DotCMIS 0.7
> Environment: Alfresco 5, Windows 7, Visual Studio 2010, .NET 4.0
>Reporter: Nicolas Raoul
>Assignee: Florian Müller
>
> This code loops forever:
> IChangeEvents changes;
> do
> {
> changes = session.GetContentChanges(token, false, 3);
> token = changes.LatestChangeLogToken;
> }
> while (changes.HasMoreItems ?? false);
> ... because LatestChangeLogToken returns the same token as the one provided
> to GetContentChanges.
> Instead, LatestChangeLogToken should return the token of the latest change
> contained in the IChangeEvents object, if my understanding is correct.
> Read-to-run minimal code showing the problem:
> https://github.com/nicolas-raoul/dotcmis-issue983
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
