Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-40914

Staging import sets wrong date on DL file version

    Details

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              kenneth.chang Kenneth Chang (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 1 week, 1 day ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE RC4