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

Publishing documents from Control Panel publishes all of the data

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.1.30 EE GA3, 6.1.X EE
    • Fix Version/s: 6.1.X EE
    • Component/s: Staging
    • Labels:

      Description

      In case the publish is performed from the 'Control Panel' -> 'Documents and Media' portlet, all of the documents are published regardless of what date range is set. I could reproduce this issue following these steps:
      1. Upload a few documents in the Documents and Media portlet.
      2. Enable staging.
      3. Put a breakpoint in the StagingImpl.copyPortlet(...) method (line 216) and start debugging.
      4. Upload a new document.
      5. Go to 'Control Panel' -> 'Documents and Media' -> 'Export/Import' -> 'Staging' tab.
      6. Select 'From Last Publish Date' and publish.
      7. When the execution stops at the breakpoint check the temp file which contains the exported data.
      Result: It contains all of the documents not only the newly uploaded.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              istvan.dezsi Istvan Dezsi
              Reporter:
              istvan.dezsi Istvan Dezsi
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 29 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.X EE