Repository navigation
feat(explorer): take down / unpublish selected item (#4533) - #4545
Merged
Merged
Conversation
Content Explorer can unpublish a selected page or asset from the toolbar and context menu (peer of Publish Now). Confirm includes linked page paths when present; HTTP 200 FORBIDDEN/BADCONFIG is not treated as success. Fixes #4533 Parent #4530 > Co-Authored by Grok Build 1.0.34 using grok-4.6 with agent night-issue-prs.
This was referenced Sep 17, 2026
Collaborator
Author
natechadwick
approved these changes
Sep 17, 2026
This was referenced Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Explorer Take Down (unpublish) for a selected page or asset on
spa.jsp?entry=explorer. Peer of Publish Now (itemPublish+actionDispatch). Uses existing sitemanageGET /services/sitemanage/publish/takedown/page|resource/{id}(PUT of linked pages whenfindLinkedItemsreturns any). Confirm first; HTTP 200FORBIDDEN/BADCONFIG/NOSTAGING_SERVERS/INVALIDis a failure (Server actions error), not success. Folders and non-page/asset types stay hidden.Parent tracker: #4530. Slice 1 of Explorer publish-adjacent actions.
Does not implement stage/unstage, schedule dates, PublishingShell history, or #4472. Does not edit
product-docs/8.2/developer/rest.md.Fixes #4533
Operator: Grok: night-issue-prs (model grok-4.6)
Test plan
python docker/scripts/perc-devctl.py qa-up --skip-image-build(this run:TEST_CMS_URL=http://127.0.0.1:9993).qa-healthwithQA_CMS_HOST_PORTfrom qa-up →RESULT:OKHTTP 200 HEALTH:healthy.qa-deploy-webuithenqa-healthagain.modules/perc-qa-automation/frontend:npm run test:surface -- --path tests/explorer-action-dispatch.spec.js(3 passed, including Take Down FORBIDDEN).npm run test:golden(2 passed).Checklist
product-docs/8.2/admin/content-explorer.md(Take Down row) and a short Explorer pointer onproduct-docs/8.2/admin/publishing.mditemPublish,actionDispatch,actionEnablement,ContentExplorerShell; WebUI + perc-qa-automation standalonemvnw clean installtests/explorer-action-dispatch.spec.jsTake Down FORBIDDEN spec + golden smoke/andencodeURIComponent)C3 evidence
WebUI,modules/perc-qa-automationcd WebUI && ../mvnw clean install→ BUILD SUCCESS; SurefireTests run: 69, Failures: 0; VitestTests 4264 passed (4264)cd modules/perc-qa-automation && ../../mvnw clean install→ BUILD SUCCESS (No tests to run / npm ci)final/sealedtype change)C5 UI proof
qa-up --skip-image-build→TEST_CMS_URL=http://127.0.0.1:9993containerperc-matrix-cms-h2qa-health→RESULT:OK STEP:qa-health HTTP:200 HEALTH:healthy URL:http://127.0.0.1:9993/Rhythmyx/rest/mimetypesqa-deploy-webui→RESULT:OK;qa-healthagain →RESULT:OK HTTP:200 HEALTH:healthynpm run test:surface -- --path tests/explorer-action-dispatch.spec.js→ 3 passed (including Take Down FORBIDDEN)npm run test:golden→ 2 passedpageerrorlisteners empty)42(PSComponentSummarydoes not exist) is the same fixture as the existing Publish Now FORBIDDEN spec, not a takedown job failure.