Forums de discussion

Folder root inside repository getting lost after clearing database cache

h h, modifié il y a 7 années.

Folder root inside repository getting lost after clearing database cache

New Member Publications: 4 Date d'inscription: 21/09/16 Publications récentes
Hi,

I am currently working with liferay 7's documents and media library with CMIS connection.

The folder I want to display is inside the repository by some levels, and I set the root there.

At first, it all worked fine. But when the database cache is cleared, I can no longer get to that folder, and get these errors from the documents and media portlet:
Your request failed to complete.
The folder could not be found.

I have searched for a solution, and found this:
https://web.liferay.com/community/forums/-/message_boards/message/49296368

Tried to implement this, but this code if for an older version, hook is replaced with OSGI and many things have been moved or removed entirely, I am struggling to figure out how to reuse this solution.

Is there a better solution for the problem? If not, is there a way to implement this solution in liferay7?
thumbnail
David H Nebinger, modifié il y a 7 années.

RE: Folder root inside repository getting lost after clearing database cach

Liferay Legend Publications: 14919 Date d'inscription: 02/09/06 Publications récentes
Not that I have a solution, but can I ask why you are purging the database cache?








Come meet me at the LSNA!
h h, modifié il y a 7 années.

RE: Folder root inside repository getting lost after clearing database cach

New Member Publications: 4 Date d'inscription: 21/09/16 Publications récentes
Hi,

Thank you for replying,

I am clearing the database cache to test if it is the problem, this happens after a while on it's own too even if I don't manually clear the cache.