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

Expired web content is removed from asset publisher but latest unexpired version is displayed for some time

    Details

      Description

      1. Set journal.article.expire.all.versions=true
      2. Add an asset publisher to the default site.
      3. Navigate to Site Administration > Content > Web Content.
      4. Add an article and make several updates to the title.
      Foe example:
      version:1.0, title:hai, expirationDate:null (unchecked)
      version:1.1, title:yu, expirationDate: 18:14 (if currentDate is 18:12, set an expiration date for a minute or two in the future)
      5. Navigate back to the default site's asset publisher and wait for the expiration time. When currentDate is 18:14, refresh page.

      Expected Result: Expiring a web content article will remove all versions of the content from the asset publisher.

      Actual Results: After the lastest version expires the next unexpired version of the web content "hai" is shown in the asset publisher. Checking Site Administration > Content > Web Content and selecting the web content's version history will show that no versions are expired (even the one that should be).

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          27 kB
        2. Fixed2.PNG
          Fixed2.PNG
          34 kB
        3. Fixed62.PNG
          Fixed62.PNG
          23 kB
        4. Fixed6202.PNG
          Fixed6202.PNG
          38 kB
        5. Reproduced.PNG
          Reproduced.PNG
          13 kB
        6. Reproduced2.PNG
          Reproduced2.PNG
          35 kB

          Issue Links

            Activity

              People

              Assignee:
              harry.chai Harry Chai
              Reporter:
              hai.yu Hai Yu
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 38 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 Alpha 2