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

Attachments are not reverted when reverting article to selected version

    Details

    • Story Points:
      1
    • Fix Priority:
      3

      Description

      User creates new article without attachment. Then article is edited and a new attachment is attached to it. When user reverts version to firstly created article, attachment is still present. (At first, we created article without attachment).

      Reference - history.gif

       
      Similar process is when user creates article with attachment, edits it and remove attachment and then revert to firstly created version. Attachment is not present, although user attached it in firstly created version.

      Reference - history2.gif

       

      Steps:

      1. Navigate to site -> content -> knowledge base
      2. Add a new article with attachment and save it
      3. Edit newly added article and remove attachment
      4. View detail of article by clicking on its name
      5. In detail view, view History from kebab menu in top right corner
      6. Revert current version to our firstly created version

      Expected result: Reverted version has attachments which were attached to it in first version
      Actual result: Reverted version doesn't have any attachment

       
      Reproducible:

      • CentOS, MySQL 5.6, Tomcat 9.0.6, 7.0.x nightly Master git ID: 870fdcc788ea4a317b4455f22b2ddaeabcea8ef4
      • FF 59.0.2, Chrome 66.0.3359.117

      Fix priority: S3 + L3 = 3

        Attachments

        1. history.gif
          history.gif
          1.13 MB
        2. history2.gif
          history2.gif
          1.77 MB

          Activity

            People

            Assignee:
            patricia.perez Patricia Perez
            Reporter:
            petr.matej Petr Matej
            Participants of an Issue:
            Recent user:
            Patricia Perez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 37 weeks, 1 day ago

                Packages

                Version Package