<?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 versioning policy in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319181#M6182</link>
    <description>&lt;P&gt;I'm trying to implement a default versioning policy as follows:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;On initial document creation - set the version to 1.0&lt;/LI&gt;
&lt;LI&gt;Thereafter - increment the minor version number (1.1, 1.2, ...)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I have tried various combinations of:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;...
&amp;lt;policy id="test" increment="MINOR" order="11"&amp;gt;
    &amp;lt;initialState major="1" minor="0" /&amp;gt;
&amp;lt;/policy&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I've tried before/after, multiple policies, etc. Looking at the Framework code - it looks like what I'm trying to do isn't supported because of how the policies are applied before and after. I'm therefore planning to implement this with a filter class but it seemed better - if possible - to do it just with a contribution. If I'm missing something, guidance is appreciated. Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jul 2018 12:45:27 GMT</pubDate>
    <dc:creator>Eric_Ace</dc:creator>
    <dc:date>2018-07-25T12:45:27Z</dc:date>
    <item>
      <title>versioning policy</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319181#M6182</link>
      <description>&lt;P&gt;I'm trying to implement a default versioning policy as follows:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;On initial document creation - set the version to 1.0&lt;/LI&gt;
&lt;LI&gt;Thereafter - increment the minor version number (1.1, 1.2, ...)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I have tried various combinations of:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;...
&amp;lt;policy id="test" increment="MINOR" order="11"&amp;gt;
    &amp;lt;initialState major="1" minor="0" /&amp;gt;
&amp;lt;/policy&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I've tried before/after, multiple policies, etc. Looking at the Framework code - it looks like what I'm trying to do isn't supported because of how the policies are applied before and after. I'm therefore planning to implement this with a filter class but it seemed better - if possible - to do it just with a contribution. If I'm missing something, guidance is appreciated. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 12:45:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319181#M6182</guid>
      <dc:creator>Eric_Ace</dc:creator>
      <dc:date>2018-07-25T12:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: versioning policy</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319182#M6183</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;
&lt;P&gt;Your example looks good and should work to initialize the versioning state to 1.0 and then increment by minor after every update (if and only if document has dirty properties). What does not work in your case ?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 13:02:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319182#M6183</guid>
      <dc:creator>Kevin_Leturc</dc:creator>
      <dc:date>2018-07-25T13:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: versioning policy</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319183#M6184</link>
      <description>&lt;P&gt;Thank you. After initial document creation the version is always "1.1". Here's what I see&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 16:28:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319183#M6184</guid>
      <dc:creator>Eric_Ace</dc:creator>
      <dc:date>2018-07-25T16:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: versioning policy</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319184#M6185</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 12:07:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319184#M6185</guid>
      <dc:creator>Kevin_Leturc</dc:creator>
      <dc:date>2018-07-26T12:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: versioning policy</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319185#M6186</link>
      <description>&lt;P&gt;I see. Thank you for responding. This gives me what I need. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 11:37:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/versioning-policy/m-p/319185#M6186</guid>
      <dc:creator>Eric_Ace</dc:creator>
      <dc:date>2018-07-27T11:37:18Z</dc:date>
    </item>
  </channel>
</rss>

