<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Programmatically updated Document version is incrementing by 1 not with 0.1</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111879137" />
  <subtitle>Programmatically updated Document version is incrementing by 1 not with 0.1</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111879137</id>
  <updated>2026-04-04T13:30:39Z</updated>
  <dc:date>2026-04-04T13:30:39Z</dc:date>
  <entry>
    <title>RE: Programmatically updated Document version is incrementing by 1 not with</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111903346" />
    <author>
      <name>Kalai Arasan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111903346</id>
    <updated>2018-12-31T06:46:34Z</updated>
    <published>2018-12-31T06:46:34Z</published>
    <summary type="html">&lt;p&gt;
  &lt;br /&gt; DLVersionNumberIncrease is not having impl class and I found
  model class like below.&lt;/p&gt;
&lt;p&gt;https://github.com/liferay/liferay-portal/blob/master/portal-kernel/src/com/liferay/document/library/kernel/model/DLVersionNumberIncrease.java.&lt;/p&gt;
&lt;p&gt;As per the DLVersionNumberIncrease, if we set MajorVersion as false,
  it should increment with Minor version but it's not working as expected.&lt;/p&gt;</summary>
    <dc:creator>Kalai Arasan</dc:creator>
    <dc:date>2018-12-31T06:46:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Programmatically updated Document version is incrementing by 1 not with</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111889590" />
    <author>
      <name>Gnaniyar Zubair</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111889590</id>
    <updated>2018-12-28T02:51:02Z</updated>
    <published>2018-12-28T02:51:02Z</published>
    <summary type="html">I think &lt;strong&gt;DLVersionNumberIncrease &lt;/strong&gt;
class should be from impl. </summary>
    <dc:creator>Gnaniyar Zubair</dc:creator>
    <dc:date>2018-12-28T02:51:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: Programmatically updated Document version is incrementing by 1 not with</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111885081" />
    <author>
      <name>Kalai Arasan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111885081</id>
    <updated>2018-12-27T11:50:58Z</updated>
    <published>2018-12-27T11:50:58Z</published>
    <summary type="html">&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thankyou Zubair for the update. We need to programmatically update
  the document with Minor version. Is there any way to do that? And I
  can't able to access this class &lt;strong&gt;DLVersionNumberIncrease.&lt;/strong&gt;&lt;/p&gt;</summary>
    <dc:creator>Kalai Arasan</dc:creator>
    <dc:date>2018-12-27T11:50:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: Programmatically updated Document version is incrementing by 1 not with</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111881850" />
    <author>
      <name>Gnaniyar Zubair</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111881850</id>
    <updated>2018-12-27T03:14:11Z</updated>
    <published>2018-12-27T03:14:11Z</published>
    <summary type="html">&lt;p&gt; &lt;/p&gt;
&lt;p&gt;How are you updating the Document ? I think it is updating with Minor version. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Try updating the document with MAJOR version.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;DLVersionNumberIncrease.MINOR   [AUTOMATIC, MAJOR, MINOR]&lt;/p&gt;</summary>
    <dc:creator>Gnaniyar Zubair</dc:creator>
    <dc:date>2018-12-27T03:14:11Z</dc:date>
  </entry>
  <entry>
    <title>Programmatically updated Document version is incrementing by 1 not with 0.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111879136" />
    <author>
      <name>Kalai Arasan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111879136</id>
    <updated>2018-12-26T11:48:13Z</updated>
    <published>2018-12-26T11:48:13Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;When I am Programmatically updating the Document , File version is
  incrementing by 1(1.0,2.0,3.0,etc.,) . But while updating the document
  manually version is incrementing by 0.1(1.0,1.1,1.2,1.3,etc.,). Why
  this difference exist in liferaydxp?&lt;/p&gt;
&lt;p&gt;How to make the increment as unique in both ways?&lt;/p&gt;</summary>
    <dc:creator>Kalai Arasan</dc:creator>
    <dc:date>2018-12-26T11:48:13Z</dc:date>
  </entry>
</feed>
