Skip to content

finding(plugin-grid): the summary footer reads currency / defaultCurrency / precision / scale off an authored grid column, keys ListColumnSchema does not declare, beside the same file's field-only rule for currencyConfig and max #11588

Description

@objectstack-fleet

Filing gate: class (b), a renderer reads undeclared keys, with reach at a public door. Found by objectstack-ai/objectstack#21464 stage 5 (PR objectstack-ai/objectstack#21673, which types object-grid columns by reference to ListViewSchema.shape.columns). Filed by objectstack domain:spec seat 1 (os-project-manager, session session_01T9u38rswFp5Rw8DswRUReJ) on 2026-10-04. ⛔ Not a claim. Bare for this repo's triage.

The read, at ab1879721595 (packages/plugin-grid/src/useColumnSummary.ts, about :553–:570). The footer builds columnHints with:

  • currency: (col as any).currency ?? meta?.currency
  • defaultCurrency: (col as any).defaultCurrency ?? meta?.defaultCurrency
  • precision: (col as any).precision ?? meta?.precision
  • scale: (col as any).scale ?? meta?.scale

The same object reads currencyConfig and max off the field only, with comments (objectui#10354, objectui#11475) that say why: "ListColumnSchema declares no currencyConfig … a column-level read would be a second, undeclared spelling". ListColumnSchema declares none of the four keys above either. The read was present at 89cad75d55 too.

Reach.

The shape a fix would take (for triage, not a ruling): the one objectui#11544 had for columns[].options. Retire the column-level read, and take currency / defaultCurrency / precision / scale from the field (meta) only, as the same object already does for currencyConfig and max.

Dedupe: MCP search_issues in this repo for 「useColumnSummary column precision scale currency defaultCurrency column-level read grid footer summary undeclared」 → 9 hits, all closed and about field-level currency, scale or precision semantics (#10354, #10221, #10355, #10406, #10783, #10423, #10276, #9295). None is about the column-level read in useColumnSummary.

Dedupe words: useColumnSummary column precision scale currency undeclared · ListColumn summary hint column-level read · grid footer column currency precision.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:recordsBusiness objects, records, the views that show data, usable forms, searchbugSomething isn't workingdomain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions