Why it says Action Delete is pending if we unpublish parent page | Community
Skip to main content
supriya-hande
Level 4
Sep 27, 2023 11:51 AM UTC
Solved

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

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
aanchal-sikka
aanchal-sikkaAccepted solution
New Participant
Sep 27, 2023 5:08 PM UTC

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

3 replies

kautuk_sahni
Employee
Sep 28, 2023 9:59 AM UTC

@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.

Translate
Kautuk Sahni
aanchal-sikka
aanchal-sikkaAccepted solution
New Participant
Sep 27, 2023 5:08 PM UTC

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

Translate
Aanchal Sikka
EstebanBustamante
New Participant
Sep 27, 2023 1:21 PM UTC

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.

Translate
Esteban Bustamante