Skip to content

TableInfo: ensure ExprColumn dependent columns are referenced#7638

Merged
labkey-nicka merged 2 commits intodevelopfrom
fb_referenced_columns
May 5, 2026
Merged

TableInfo: ensure ExprColumn dependent columns are referenced#7638
labkey-nicka merged 2 commits intodevelopfrom
fb_referenced_columns

Conversation

@labkey-nicka
Copy link
Copy Markdown
Contributor

@labkey-nicka labkey-nicka commented May 1, 2026

Rationale

This addresses #1118 where ExprColumn added via table customizers are not having their dependent columns included in the query. As a result the generated query attempts to refer to columns that have not been furnished by getFromSQL().

Related Pull Requests

Changes

  • When mutating the column set in AbtractTableInfo, check if the mutation is an ExprColumn, and update referenced columns
  • Minor cleanup

@labkey-nicka labkey-nicka self-assigned this May 1, 2026
@labkey-nicka labkey-nicka force-pushed the fb_referenced_columns branch from 68f06d9 to 896345a Compare May 4, 2026 17:51
@labkey-nicka labkey-nicka merged commit f050035 into develop May 5, 2026
8 of 9 checks passed
@labkey-nicka labkey-nicka deleted the fb_referenced_columns branch May 5, 2026 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants