<?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: CMIS Document Query Omits version 0.0 Documents in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321383#M8384</link>
    <description>&lt;P&gt;Great.  That's useful.  Is there also a setting so that changing metadata overwrites the metadata of the current version and does not initiate a checkout?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Sep 2014 20:16:21 GMT</pubDate>
    <dc:creator>dweisinger</dc:creator>
    <dc:date>2014-09-11T20:16:21Z</dc:date>
    <item>
      <title>CMIS Document Query Omits version 0.0 Documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321377#M8378</link>
      <description>&lt;P&gt;When I make the following CMIS query:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM cmis:document order by cmis:name
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;it doesn't return any of my newly uploaded documents.
I found that if I force CMIS to "search all versions" that my documents will be returned.&lt;/P&gt;
&lt;P&gt;I found that once a document is versioned past version 0.0, it will be returned in the standard search.&lt;/P&gt;
&lt;P&gt;Why does it have this behavior?&lt;/P&gt;
&lt;P&gt;I want to search and find only the most current versions of all documents.  Adding "search all documents" in order to return version 0.0 documents will return document versions that I'm not interested in.&lt;/P&gt;
&lt;P&gt;How can I find "most current version" where version 0.0 is considered a 'version'?&lt;/P&gt;
&lt;P&gt;The following doesn't work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM cmis:document where (cmis:isLatestVersion=true or cmis:versionLabel is null) order by cmis:name
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Sep 2014 18:48:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321377#M8378</guid>
      <dc:creator>dweisinger</dc:creator>
      <dc:date>2014-09-10T18:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS Document Query Omits version 0.0 Documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321378#M8379</link>
      <description>&lt;P&gt;What Nuxeo version are you using?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 19:03:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321378#M8379</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-09-10T19:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS Document Query Omits version 0.0 Documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321379#M8380</link>
      <description>&lt;P&gt;I'm using 5.9.5&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 19:05:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321379#M8380</guid>
      <dc:creator>dweisinger</dc:creator>
      <dc:date>2014-09-10T19:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS Document Query Omits version 0.0 Documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321380#M8381</link>
      <description>&lt;P&gt;I see the same behavior on http&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 19:09:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321380#M8381</guid>
      <dc:creator>dweisinger</dc:creator>
      <dc:date>2014-09-10T19:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS Document Query Omits version 0.0 Documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321381#M8382</link>
      <description>&lt;P&gt;I think the problem is happening because on upload a new document is marked as version 0.0 and then left in a checked-out/PWC state.  There is no true 'versioned' document at that point, and that is why the CMIS query fails to find it.  Why does the document need to be checked out after upload? -- I think most use case scenarios would not expect this behavior.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 18:23:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321381#M8382</guid>
      <dc:creator>dweisinger</dc:creator>
      <dc:date>2014-09-11T18:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS Document Query Omits version 0.0 Documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321382#M8383</link>
      <description>&lt;P&gt;0.0 is not a version, as was mentioned in a comment above it's the private working copy (PWC) and can be seen as a "draft".&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://jira.nuxeo.com/browse/NXP-10701"&gt;NXP-10701&lt;/A&gt; on how to enable automatic versioning of a file after it's been added.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 19:48:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321382#M8383</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-09-11T19:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS Document Query Omits version 0.0 Documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321383#M8384</link>
      <description>&lt;P&gt;Great.  That's useful.  Is there also a setting so that changing metadata overwrites the metadata of the current version and does not initiate a checkout?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 20:16:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321383#M8384</guid>
      <dc:creator>dweisinger</dc:creator>
      <dc:date>2014-09-11T20:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS Document Query Omits version 0.0 Documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321384#M8385</link>
      <description>&lt;P&gt;Should I enter this as a bug?  I think that the document should be returned from the CMIS query even if only the PWC exists.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Sep 2014 07:37:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321384#M8385</guid>
      <dc:creator>dweisinger</dc:creator>
      <dc:date>2014-09-20T07:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS Document Query Omits version 0.0 Documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321385#M8386</link>
      <description>&lt;P&gt;Versions are immutable in Nuxeo, so you cannot change metadata on them once they have been created.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2014 12:22:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cmis-document-query-omits-version-0-0-documents/m-p/321385#M8386</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-09-26T12:22:43Z</dc:date>
    </item>
  </channel>
</rss>

