Repository navigation
fix(publishing): remove one location scheme parameter from Design - #5354
Merged
natechadwick-intsof merged 2 commits intoOct 7, 2026
Merged
Conversation
Publishing design drops one parameter through the existing scheme update. Other parameters and the scheme identity stay. Cancel and HTTP 400/403/409 do not write. Removing the last parameter leaves an empty list and does not delete the scheme. Fixes #5333 > Co-Authored by Grok Build 1.0.46 using grok-4.7 with agent night-issue-prs.
…-remove-parameter > Co-Authored by Grok Build 1.0.46 using grok-4.7 with agent night-issue-prs-erlang.
Collaborator
Author
|
Erlang LGTM. In-diff bugs: 0. Recommendation: approve. Report:
|
natechadwick-intsof
deleted the
fix/issue-5333-location-scheme-remove-parameter
branch
October 7, 2026 21:20
This was referenced Oct 7, 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
Publishing design can remove one parameter from one location scheme. Confirm sends the existing scheme update (
PUT …/publishingdesign/schemes/{schemeId}) withremoveParameter: trueand that one parameter. The server drops only that name. Name, generator, description, content type, template, and the other parameters stay. The parameter leaves the list only after success. Cancel does not write. HTTP 400, 403, and 409 leave the previous parameters in place. Removing the last parameter leaves an empty list and does not delete the scheme.Parent: #4531. Fixes #5333.
Operator: Grok: night-issue-prs (model grok-4.7)
Test plan
Checklist
product-docs/8.2/admin/publishing.md(Remove one location scheme parameter)modules/perc-qa-automation/frontend/tests/publishing/designLocationSchemeRemoveParameter.spec.jsprojects/sitemanage,WebUI, andmodules/perc-qa-automation(no skipTests). No public signature,final, or sealed change, so no reverse-dep install.Build evidence
modules_built: projects/sitemanage, WebUI, modules/perc-qa-automation
cd projects/sitemanage && rtk mvn clean install— BUILD SUCCESS. Tests run: 3748, Failures: 0, Errors: 0, Skipped: 125. Preexisting javadoc/dependency warnings only; no new warnings from this change.cd WebUI && rtk mvn clean install— BUILD SUCCESS. Java Tests run: 69, Failures: 0. Vitest: Test Files 723 passed, Tests 6811 passed.cd modules/perc-qa-automation && rtk mvn clean install— BUILD SUCCESS. Maven lifecycle runsnpm cifor the frontend package; Surefire reports no Java tests. Surface Playwright is recorded under UI proof.updateScheme(String, PSLocationSchemeSummary)signature is unchanged. Grep found no production subclasses ofPSPublishingDesignRestService. The newremoveParameterfield is additive.UI proof (H2 QA)
python docker/scripts/perc-devctl.py qa-up --skip-image-build— RESULT:OK. TEST_CMS_URL=http://127.0.0.1:9993. QA_CMS_HOST_PORT=9993. Container perc-matrix-cms-h2.python docker/scripts/perc-devctl.py qa-health— RESULT:OK HTTP:200 HEALTH:healthy.python docker/scripts/perc-devctl.py qa-deploy-war-jars --restart-jetty— copiedperc-system-8.2.0-SNAPSHOT.jarandsitemanage-8.2.0-SNAPSHOT.jarinto/opt/Percussion/jetty/base/webapps/Rhythmyx/WEB-INF/lib, then in-cell StopJetty/StartJetty. Nodocker restart.qa-healthagain — RESULT:OK HTTP:200 HEALTH:healthy.python docker/scripts/perc-devctl.py qa-deploy-webui— RESULT:OK (fullcm/moderntree).qa-healthagain — RESULT:OK HTTP:200 HEALTH:healthy.cd modules/perc-qa-automation/frontend && rtk npm run test:surface -- --path tests/publishing/designLocationSchemeRemoveParameter.spec.jswith TEST_CMS_URL, ADMIN_USERNAME=Admin, TEST_DB_TYPE=h2, TEST_PRODUCT=cms — 2 passed (4.3s)./opt/Percussion/jetty/base/logs/server.logduring the run).python docker/scripts/perc-devctl.py qa-down— RESULT:OK.Pre-push local code review
Summary
Machine analysis found 3 finding(s), 0 bug(s).
Scope
Recommendation
approve
Gate
Issues
Issue 1 -- Severity: suggestion
complexity.cognitivearborist-metricsupdateSchemecognitive=25 (max 15), cyclomatic=21 (max 15)Issue 2 -- Severity: suggestion
complexity.cognitivearborist-metricsapplySchemeParameterscognitive=16 (max 15), cyclomatic=13 (max 15)Issue 3 -- Severity: suggestion
llm.errorllmollama-dev-coderfailed: http: status 500 Internal Server Error body {"error":{"message":"llama-server process has terminated: exit status 1: cudaMalloc failed: out of memory\nalloc_tensor_range: failed to allocate CUDA0 buffer of size 5064192000\nerror loading model: unable to allocate CUDA0 buffer","type":"api_error","param":null,"code":null}}Erlang intent
Intent:
updateSchemeprepares a singleremoveParametername before any field write. A blank name, a name longer than the column, or a count other than one is HTTP 400 and does not save. A name that is not stored, or a duplicate scheme name sent with the update, is HTTP 409 and does not callremoveParameter. Add and remove together are HTTP 400 before load. The last parameter leaves an empty list and does not delete the scheme. The UI confirms through the existing scheme update, keeps the other parameters and scheme identity, and leaves the previous list in place on cancel and on HTTP 400, 403, and 409.updateSchemeandapplySchemeParameterscognitive complexity are suggestions; the remove path is a guarded branch, andapplySchemeParametersis not the remove path. No new filesystem path joins. Companions present:locationSchemeRemoveParameter.tsplus Vitest,ContextsPaneltests,PSPublishingDesignRestServiceTest, Jackson bind test, PlaywrightdesignLocationSchemeRemoveParameter.spec.js, andproduct-docs/8.2/admin/publishing.md. No agent rule files. Ollamadev-coderCUDA OOM is non-blocking; machine findings kept.