Not able to create a new version of the document.

Jamie Sammons, modified 3 Years ago. New Member Posts: 5 Join Date: 10/19/21 Recent Posts

Hello,

I have done a custom implementation of methods :

DLAppServiceUtil.checkOutFileEntry(dlFileEntry.getFileEntryId(), serviceContext);
DLAppServiceUtil.checkInFileEntry(dlFileEntry.getFileEntryId(), false, "cng performed", serviceContext);

The issue which I am facing is, that when we checkOutFileEntry for a document, I am able to crerate a private working copy of that. and when we hit checkInFileEntry 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 checkInFileEntry method after 24 hours of hitting checkOutFileEntry method.

Can someone help me how can I handle this?

Version of LR: Liferay Community Edition Portal 7.0.6 GA7