[MGNLWORKFLOW-343] Scheduled publications of deleted pages have positive Pulse result Created: 18/Nov/16  Updated: 23/Aug/22

Status: Open
Project: Magnolia Workflow Module
Component/s: None
Affects Version/s: 5.6
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Frank Sommer Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File scheduled-activation-of-removed-page-result.png     PNG File scheduled-activation-of-removed-page.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Team: AuthorX

 Description   

If you schedule a page publication and you remove the page before the schedule date, the scheduled work item will be shown as resolved. See attached screenshots.

But the following exception will be thrown.

ERROR  info.magnolia.personalization.command.PersonalizationActivationCommand 18.11.2016 09:40:00 -- Cannot execute activation command for the node 'website:/sportstation/about':
javax.jcr.ItemNotFoundException: 64cc52a3-326f-40b9-b021-c980f2959447
	at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:384)
	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328)
	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622)
	at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:536)

I think it makes more sense, if the work item would be shown as failed and should not be restartable.


Generated at Mon Feb 12 10:09:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.