Skip to content

GitHub Issue #1037: Calculated columns on assays don't get round tripped through folder archive - #7959

Merged
cnathe merged 5 commits into
developfrom
fb_assayCalcField
Aug 24, 2026
Merged

GitHub Issue #1037: Calculated columns on assays don't get round tripped through folder archive#7959
cnathe merged 5 commits into
developfrom
fb_assayCalcField

Conversation

@cnathe

@cnathe cnathe commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Rationale

https://github.com/LabKey/internal-issues/issues/1037

Assay calculated columns are exported as query metadata XML overrides against per-protocol schemas (assay.General.<name>). QueryImporter.process() runs before the XAR importer creates the protocols, so the query xml files for these assay protocols get dropped with a warning. The fix stashes those files in a new deferredMetadataFiles map and replays them from postProcess(), after every importer's process() has run.

Related Pull Requests

Changes

  • QueryImporter to track deferredMetadataFiles and attempt to createQueryDef for them in postProcess

…attempt to createQueryDef for them in postProcess
@cnathe cnathe self-assigned this Aug 20, 2026
@cnathe
cnathe requested a review from XingY August 20, 2026 19:08
Comment thread query/src/org/labkey/query/QueryImporter.java
@cnathe
cnathe merged commit a956b01 into develop Aug 24, 2026
8 of 10 checks passed
@cnathe
cnathe deleted the fb_assayCalcField branch August 24, 2026 13:12
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