<?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>Not able to create a new version of the document.</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121525191" />
  <subtitle>Not able to create a new version of the document.</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121525191</id>
  <updated>2026-04-05T18:37:32Z</updated>
  <dc:date>2026-04-05T18:37:32Z</dc:date>
  <entry>
    <title>Not able to create a new version of the document.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121525190" />
    <author>
      <name>Akash Jaiswal</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121525190</id>
    <updated>2022-09-28T19:51:39Z</updated>
    <published>2022-09-28T05:14:31Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have done a custom implementation of methods :&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;DLAppServiceUtil.checkOutFileEntry(dlFileEntry.getFileEntryId(), serviceContext);
DLAppServiceUtil.checkInFileEntry(dlFileEntry.getFileEntryId(), false, &amp;quot;cng performed&amp;quot;, serviceContext);&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The issue which I am facing is, that when we &lt;em&gt;
    &lt;strong&gt;checkOutFileEntry &lt;/strong&gt;&lt;/em&gt;for a document, I am able to
  crerate a private working copy of that. and when we hit &lt;em&gt;
    &lt;strong&gt;checkInFileEntry &lt;/strong&gt;&lt;/em&gt;for the same documents. I am
  able to create a new version of that document. But the version is not
  getting created when I hit &lt;em&gt;
    &lt;strong&gt;checkInFileEntry &lt;/strong&gt;&lt;/em&gt;method after 24 hours of
  hitting &lt;em&gt;
    &lt;strong&gt;checkOutFileEntry &lt;/strong&gt;&lt;/em&gt;method.&lt;/p&gt;
&lt;p&gt;Can someone help me how can I handle this?&lt;/p&gt;
&lt;p&gt;
  &lt;em&gt;
    &lt;strong&gt;Version of LR: Liferay Community Edition Portal 7.0.6 GA7&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Akash Jaiswal</dc:creator>
    <dc:date>2022-09-28T05:14:31Z</dc:date>
  </entry>
</feed>
