Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Why it says Action Delete is pending if we unpublish parent page

Avatar

Level 4

Hello All,

There is a parent page and its having some child pages. I unpublished parent page(it will unpublish all child pages) and then its showing Published status for Parent page as: Not Published. Action 'Delete' is pending. All child pages got removed from this parent. I am not sure why this has happened and I saw such behaviour first time. It happened  on our Production instance. I want to know why it say Action Delete is pending because I am just unpublishing pages. Does anyone know what cloud be the reason or any OOTB unpublish workflow going in wrong way.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @supriya-hande 

 

I have used the OOTB Manage publication to unpublish a subTree. If you would notice the reqType=DELETE. This is ok, because an unpublish from author is a delete from publish.

These nodes would be removed.

 

2023/09/27 17:05:08:677 - INFO - Request accepted with distribution package PackageMessage(pubSlingId=8eeeaa01-8821-4688-ab02-813a9e0bfade, reqType=DELETE, pkgId=b7aa2ebc-9060-4740-be44-5e21531b283b, pkgType=journal_filevault, pkgLength=0, pubAgentName=publish, userId=replication-service, paths=[/content/test/language-masters/en/VaccineLP, ... 6 more], deepPaths=[]) at offset=69650686

 

Reverse for publishing the type is ADD

 

2023/09/27 17:03:51:897 - INFO - Successfully applied package with id dstrpck-1695834219997-7dcb20bd-02e6-4549-8620-8d67c8933c74, type ADD, paths [/content/test/language-masters/en/VaccineLP]

 

Please try on lower environments, you should be able to replicate the behaviour


Aanchal Sikka

View solution in original post

3 Replies

Avatar

Community Advisor

Hi, 


Was the parent page deactivated? I think sometimes you see the "pending.." message when the replication queue is full/blocked and it has put your page in the queue. On the other hand, and from a technical perspective, i think you should deactivate not the parent directly but instead, deactivate the children first and then the parent.



Esteban Bustamante

Avatar

Correct answer by
Community Advisor

Hello @supriya-hande 

 

I have used the OOTB Manage publication to unpublish a subTree. If you would notice the reqType=DELETE. This is ok, because an unpublish from author is a delete from publish.

These nodes would be removed.

 

2023/09/27 17:05:08:677 - INFO - Request accepted with distribution package PackageMessage(pubSlingId=8eeeaa01-8821-4688-ab02-813a9e0bfade, reqType=DELETE, pkgId=b7aa2ebc-9060-4740-be44-5e21531b283b, pkgType=journal_filevault, pkgLength=0, pubAgentName=publish, userId=replication-service, paths=[/content/test/language-masters/en/VaccineLP, ... 6 more], deepPaths=[]) at offset=69650686

 

Reverse for publishing the type is ADD

 

2023/09/27 17:03:51:897 - INFO - Successfully applied package with id dstrpck-1695834219997-7dcb20bd-02e6-4549-8620-8d67c8933c74, type ADD, paths [/content/test/language-masters/en/VaccineLP]

 

Please try on lower environments, you should be able to replicate the behaviour


Aanchal Sikka

Avatar

Administrator

@supriya-hande Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni