<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BUG: CMIS paging query getTotalNumItems() is wrong in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/bug-cmis-paging-query-gettotalnumitems-is-wrong/m-p/299656#M252786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this isn't a simple fix that you can just apply/backport to a single line of code. In order to solve this, internal result set interfaces had to be changed to expose previously internal information (as stated in the comment of Andrew Hind). You should find the fix included in Alfresco 5.0 Community.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The essential change is in this line: &lt;/SPAN&gt;&lt;A href="https://github.com/Alfresco/community-edition/blob/24ae86da33534a90fc10a693f48bc45556fd9d9d/projects/repository/source/java/org/alfresco/opencmis/CMISConnector.java#L3121" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/community-edition/blob/24ae86da33534a90fc10a693f48bc45556fd9d9d/projects/repository/source/java/org/alfresco/opencmis/CMISConnector.java#L3121&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;But in 4.2.f you'd need to change a bit to actually be able to call getNumberFound.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2015 07:33:16 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2015-08-31T07:33:16Z</dc:date>
    <item>
      <title>BUG: CMIS paging query getTotalNumItems() is wrong</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bug-cmis-paging-query-gettotalnumitems-is-wrong/m-p/299655#M252785</link>
      <description>Easily illustrated bug, the getTotalNumItems() returns ONLY the results returned up to the current page.&amp;nbsp; I saw a link that said the issue was fixed in Enterprise…has anyone fixed (or know how to fix) Community 4.2.f?&amp;nbsp; If so, could you please share the fix?&amp;nbsp; I believe this is the same issue:&amp;nbsp; https:</description>
      <pubDate>Sat, 29 Aug 2015 19:43:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bug-cmis-paging-query-gettotalnumitems-is-wrong/m-p/299655#M252785</guid>
      <dc:creator>ddelapasse</dc:creator>
      <dc:date>2015-08-29T19:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: CMIS paging query getTotalNumItems() is wrong</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bug-cmis-paging-query-gettotalnumitems-is-wrong/m-p/299656#M252786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this isn't a simple fix that you can just apply/backport to a single line of code. In order to solve this, internal result set interfaces had to be changed to expose previously internal information (as stated in the comment of Andrew Hind). You should find the fix included in Alfresco 5.0 Community.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The essential change is in this line: &lt;/SPAN&gt;&lt;A href="https://github.com/Alfresco/community-edition/blob/24ae86da33534a90fc10a693f48bc45556fd9d9d/projects/repository/source/java/org/alfresco/opencmis/CMISConnector.java#L3121" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/community-edition/blob/24ae86da33534a90fc10a693f48bc45556fd9d9d/projects/repository/source/java/org/alfresco/opencmis/CMISConnector.java#L3121&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;But in 4.2.f you'd need to change a bit to actually be able to call getNumberFound.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 07:33:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bug-cmis-paging-query-gettotalnumitems-is-wrong/m-p/299656#M252786</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-08-31T07:33:16Z</dc:date>
    </item>
  </channel>
</rss>

