Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.1.30 EE GA3
-
6.1.x
-
Committed
-
6
-
3
Description
In 6.1 GA3, document ranks are staged. When a Site is published to live, it will export these ranks from staging to Live. If there is a sufficiently large amount, it will cause the process to never finish, or become extremely slow.
In 6.2 the export/import/staging of ranks was removed by LPS-35873
Steps to reproduce:
1. Enable local live staging for a site
2. Set log levels to INFO for "com.liferay.portal.lar"
3. Add Recent Downloads & Documents and Media portlets to a page on the staging site
4. Add some documents. Download some of the documents. This creates the entries in the dlfilerank table and shows the files in the recent downloads portlet
5. Publish to live
EXPECTED RESULT:
Ranks should not be exported to the live site.
ACTUAL RESULT:
Ranks are exported to the live site.
Notice Recent Downloads portlets on live site contains entries from staged site and in the log there will be entries similar to:
09:47:11,386 INFO [http-bio-8061-exec-8][PortletDataContextListenerImpl:35] Export /groups/10601/portlets/20/ranks/10837.xml ... 09:47:11,861 INFO [http-bio-8061-exec-8][PortletDataContextListenerImpl:42] Import /groups/10601/portlets/20/ranks/10837.xml
Reproduced on ee-6.1.x - eaf69db5bbb93cdb6b80c891913dd51990dbf2d7