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

Publishing an edited wiki page with attachment will duplicate attachment in Live

    Details

    • Fix Priority:
      4
    • Sprint:
      Collab 10

      Description

      Steps to reproduce:

      1. Activate Local Staging for Wiki
      2. Add Wiki portlet to page
      3. Add a new Wiki page
      4. Edit Wiki page
      5. Add attachment
      6. Publish to Live
      7. Go to the Wiki page in Live
      8. Assert attachment displays
      9. Go back to staging
      10. Edit the Wiki page
      11. Publish to Live
      12. Go to the Wiki page in Live

      Expected result: Edits are in live, only one attachment (the one added in step 5) is present.
      Actual result: Edits are in live, but a copy of the attachment is in Live. Every time you edit, another copy of the attachment gets added.

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.6
      Portal master GIT ID: 2f7629c29615264dfdac4b381148a8e8e30c5a6e
      Portal ee-7.0.x GIT ID: 4f72fae713632d8f96e291316c4d1d978805d506

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 23 weeks, 2 days ago

                  Packages

                  Version Package
                  Master