Web content will be expired before expireDate is coming

Description

1. Set journal.article.check.interval=30.
2. Add one web content article "Test Article". Enter title and content, click Schedule.
3. The current display Date 7.10.2015 08:00 am,
uncheck "Never Expire", choose Expiration Date: 7.10.2015 08:40 am,
4. And click publish.

I assume schedule CheckArticleMessageListener was invoked at 7.10.2015 08:20 am.

Actual Behavior: The "Test Article" will be expired at 08:20 am, even though its expireDate is 08:40 am.

Expected Behavior: The "Test Article" will be expired at 08:50 am, because we should not expire one future article when checkDate is earlier than expireDate. For schedule task, it should check date earlier than now date.

Activity

Show:

Michael SaechangJuly 14, 2015 at 3:05 PM

Closing as per comment

hai.yuJuly 10, 2015 at 1:27 AM

Sorry create the https://liferay.atlassian.net/browse/LPS-57011#icft=LPS-57011, the current behavior should be expected behavior by referring to https://www.liferay.com/group/employees/forum/-/message_boards/message/14889226.

Close as duplicated.

Thanks,
Hai

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Priority

Zendesk Support

Created July 10, 2015 at 1:15 AM
Updated June 25, 2023 at 11:41 PM
Resolved July 14, 2015 at 3:05 PM

Flag notifications