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

With staging enabled, published documents are not updated on local live after being moved to another folder

    Details

      Description

      Description:
      With staging enabled, published documents are not updated on local live being moved to another folder.

      Steps to reproduce:
      In a clean bundle on a site with local live staging enabled:

      1. Add a Documents and Media portlet to a page and upload a document
      2. Publish to live (using the default settings)
      3. Create a new Folder under Documents and Media
      4. Move the Document to the new Folder
      5. Publish to live (using the default settings)

      Note that folder is created in Remote, but Document is not updated in Remote and placed into another Folder

      Expected Result:
      Document will be updated after step 5.
      Actual Result:
      Document is not updated after step and remains in the home folder.

      Fixed on Master:
      LPS-55246 fixes the issue on master.

      • This commit changes the way modified dates are updated for all Models at the persistence level.

        Attachments

        1. fixed1.PNG
          fixed1.PNG
          41 kB
        2. fixed2.PNG
          fixed2.PNG
          40 kB
        3. reproduced1.PNG
          reproduced1.PNG
          43 kB
        4. reproduced2.PNG
          reproduced2.PNG
          44 kB

          Issue Links

            Activity

              People

              • Assignee:
                ian.song Ian Song (Inactive)
                Reporter:
                eric.yan Eric Yan
                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:
                  4 years, 7 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE