fix(editor): stop dc.row_status from being submitted to the backend #299

Merged
allan merged 2 commits from formula-status-fix into version7-13 2026-08-11 09:34:34 +00:00
Owner

Summary

Stops the client-only dc.row_status column from being included in the editors/getdynamiccolvals request payload.

Intent

dc.row_status is synthesized entirely in the browser to give DC.ROW_STATUS-based formulas a real cell to reference - it never comes from the backend and must never be sent back to it. The submit path (saveTable()) already stripped it before its payload leaves the browser; the dynamic cell validation lookup did not.

Changes

  • Extracted the existing row-sanitizing helper (previously private to classifyRow.ts) into a shared withoutEditStatus utility under editor/utils/, with its own unit tests.
  • classifyRow.ts now imports the shared utility instead of defining its own copy.
  • dynamicCellValidation() in editor.component.ts now strips dc.row_status from the row before building the source_row payload sent to editors/getdynamiccolvals.
# Summary Stops the client-only `dc.row_status` column from being included in the `editors/getdynamiccolvals` request payload. # Intent `dc.row_status` is synthesized entirely in the browser to give `DC.ROW_STATUS`-based formulas a real cell to reference - it never comes from the backend and must never be sent back to it. The submit path (`saveTable()`) already stripped it before its payload leaves the browser; the dynamic cell validation lookup did not. # Changes - Extracted the existing row-sanitizing helper (previously private to `classifyRow.ts`) into a shared `withoutEditStatus` utility under `editor/utils/`, with its own unit tests. - `classifyRow.ts` now imports the shared utility instead of defining its own copy. - `dynamicCellValidation()` in `editor.component.ts` now strips `dc.row_status` from the row before building the `source_row` payload sent to `editors/getdynamiccolvals`.
Yury added 1 commit 2026-08-11 08:28:00 +00:00
fix(editor): stop dc.row_status from being submitted to the backend
Build / Build-and-ng-test (pull_request) Failing after 1m54s
Build / Build-and-test-development (pull_request) Skipped
Lighthouse Checks / lighthouse (pull_request) Successful in 22m34s
dc0f6a7baa
dynamicCellValidation() built its editors/getdynamiccolvals payload
from a raw dataSource row clone, which always carries the client-only
EDIT_STATUS column - unlike saveTable()'s submit path, nothing
stripped it before the request went out. Extracted the strip logic
(previously private to classifyRow) into a shared withoutEditStatus
util and applied it here too.
Yury marked the pull request as work in progress 2026-08-11 08:28:35 +00:00
Yury added 1 commit 2026-08-11 08:34:02 +00:00
chore: merge remote-tracking branch 'origin/version7-13' into formula-status-fix
Build / Build-and-ng-test (pull_request) Successful in 5m30s
Lighthouse Checks / lighthouse (pull_request) Successful in 22m5s
Build / Build-and-test-development (pull_request) Successful in 25m18s
5615e6b0db
Yury marked the pull request as ready for review 2026-08-11 09:16:40 +00:00
allan merged commit 20a007622c into version7-13 2026-08-11 09:34:34 +00:00
allan deleted branch formula-status-fix 2026-08-11 09:34:34 +00:00
Sign in to join this conversation.