Repository navigation
fix(publishing): rename one context variable on Design (#5437) - #5447
Merged
Merged
Conversation
Operators rename one publishing context variable from Design. The stored value and the other variables on that context stay. Blank, duplicate, and overlong names do not write, and cancel or HTTP 400/403/409 keeps the old name. > Co-Authored by Grok Build 1.0.46 using grok-4.7 with agent night-issue-prs.
Record the pre-merge mkd-code-review of the context-variable rename. In-diff findings are complexity suggestions. No blocking bugs. > Co-Authored by Grok Build 1.0.46 using grok-4.7 with agent night-issue-prs-erlang.
Collaborator
Author
|
LGTM. Independent Erlang review (persona erlang 0.1.1, mkd-code-review 0.1.18, pack percussion, gate advisory, base origin/main). Same-login APPROVE is rejected by GitHub, so this comment is the review. In-diff findings are complexity suggestions. Preexisting rows do not block. Ollama dev-coder failed open (CUDA out of memory). No blocking bugs. May merge: yes. Report: docs/ai-generated/code-reviews/pr-5447-erlang.md
|
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
Publishing Design can rename one context variable.
PUT /sites/{siteId}/propertieswithrenameName: true,nameset to the stored name, andnewNameset to the new name keeps the stored value and leaves every other variable on that context in place. Blank, duplicate, and overlong names do not write. Cancel does not write. HTTP 400, 403, and 409 keep the old name. CombiningrenameNamewithupdateValuereturns HTTP 400 (CONTEXT_VARIABLE_RENAME_NOT_WITH_VALUE) and writes nothing.A same trimmed name is not a duplicate and does not save. On a concrete
PSSitethe rename is in place, so the property id and value stay. This is slice 103 of parent #4531.Fixes #5437
Operator: Grok: night-issue-prs (model grok-4.7)
Test plan
PSPublishingDesignRestServiceTestrename cases; WebUI VitestcontextVariableRename.test.ts,SiteDesignPanel.contextVariableRename.test.tsx, and the rename case insiteProperty.api.test.ts.modules/perc-qa-automation/frontend:npm run test:surface -- --path tests/publishing/designContextVariableRename.spec.js— 2 passed. console-clean=yes. server.log-clean=yes.Checklist
product-docs/8.2/admin/publishing.md(section "Rename one context variable (Design)")clean installgreenmodules/perc-qa-automation/frontend/tests/publishing/designContextVariableRename.spec.js(2 passed on H2 QA)final/sealed/signature change, so no reverse-dep installPre-push local code review
Build evidence
modules_built: projects/sitemanage, WebUI
downstream_checked: none (new DTO fields and getters only; no type made final or sealed and no public or protected signature change)
C1
C5 UI proof
qa-health returned HTTP 200 and healthy after the in-cell Jetty restart (StopJetty/StartJetty). Server started 2026-10-09 03:35:53. The cell was not docker-restarted.