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

Scheduled expiration of journal article not working

Details

    Description

      I'm using the JournalArticleServiceUtil class to import web contents from another portal into a Liferay portal.

      Many of these contents I'm trying to import are expired in the original portal, so, in these cases, I pass the display date and the expiration date to the addArticle method, in an attempt to import those contents as expired contents.

      The thing is that after I got to import them, I checked the control panel, and saw that there are no contents expired. I went to the database and saw that the expiration date of all the journal articles was null.

      I thought that it could be an API problem, so I tried editing a web content and setting the expiration date from the control panel, but that also didn't work.

      Could it be because the expiration date is before the current date (although it's also after the display date)?

      Is there a workaround for this?

      Attachments

        Activity

          People

            michael.saechang Michael Saechang
            abel3189 Abel Alvarez (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 14 weeks ago

              Packages

                Version Package
                6.2.0 CE M4