-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.30 EE GA3, 6.2.0 CE RC3
-
Fix Version/s: 6.1.X EE, 6.2.0 CE RC4
-
Component/s: Staging
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Story Points:7
-
Git Pull Request:
Description
Publish to live with date range is inconsistent
Steps to reproduce/Testing done
1. Setup two instances of Liferay with remote staging enabled
2. In the staging instance, go to Control Panel > Documents & Media
3. Create a folder and add a document in that folder(current time: 1:00)
4. Wait a few minutes, then checkout the document and check it back in, creating a new version (current time: 1:02)
5. Wait a few minutes, then checkout the document and check it back in, creating a new version (current time: 1:04)
6. Wait a few minutes (current time: 1:06)
7. Go to the Publish to Live window
8. Select a Date Range and modify the End Date to be the timestamp of the last version of the document in step 3 (should be 1:04)
9. Publish
10. Observe that the folder is created, but the document has not been published
11. Go to the Publish to Live window
12. Select a Date Range and modify the End Date to be the timestamp of the last version of the document in step 3, plus 1 minute (should be 1:05)
13. Publish
14. Observe that the latest version of the document has been published in the folder
15. Wait a few minutes, then checkout the document and check it back in, creating a new version (current time: 1:08)
16. Wait a few minutes (current time 1:10)
17. Go to the Publish to Live window
18. Select a Date Range and modify the Start Date and End Date to include only the timestamp of the last version of the document (i.e. 1:06 - 1:10).
19. Publish
20. Observe that the most recent version of the document has an incorrect created date.
Reproduced in trunk? Unable to test; staging can't be setup
Reproduced in branch? Yes