Forums de discussion

Setting Expiry Date for content does not seem to take effect

thumbnail
Javeed Chida, modifié il y a 7 années.

Setting Expiry Date for content does not seem to take effect

New Member Publications: 8 Date d'inscription: 23/10/14 Publications récentes
I have a journal article that is in Published status.
The Display Date is in the past.
The Expiry Date is a year from now.
I change the Expiry Date to 2 minutes into the future.
And wait...
Upon refreshing the content item 2 or 3 mins later, I was hoping to see its status as Expired. But it continues to say Draft or Published (whichever status I last left it in).

Is there a precedence rule in effect here? I think there may be some interplay between the current status and the Display Date / Expiry Date that is confusing. I can't seem to find documentation addressing this use case.

Thank you.
thumbnail
Denis Signoretto, modifié il y a 7 années.

RE: Setting Expiry Date for content does not seem to take effect

Expert Publications: 375 Date d'inscription: 21/04/09 Publications récentes
Hi Javeed,

be aware that Web Content (Journal Article) publication is managed by a scheduled job (com.liferay.portlet.journal.messaging.CheckArticleMessageListener)
that is configured to run by default every 15 minutes (you can change default value setting a different value og journal.article.check.interval property).

HTH,
Denis.