Skip to content

[bot] Merge 26.3 to 26.7 - #1011

Open
github-actions[bot] wants to merge 3 commits into
release26.7-SNAPSHOTfrom
26.7_fb_bot_merge_26.3
Open

[bot] Merge 26.3 to 26.7#1011
github-actions[bot] wants to merge 3 commits into
release26.7-SNAPSHOTfrom
26.7_fb_bot_merge_26.3

Conversation

@github-actions

Copy link
Copy Markdown

Generated automatically.
Merging changes from: 2b7e2e8
Approve all matching PRs simultaneously.
Approval will trigger automatic merge.
Verify all PRs before approving: https://internal.labkey.com/Scrumtime/Backlog/harvest-gitOpenPullRequests.view?branch=26.7_fb_bot_merge_26.3

aschmidt34 and others added 3 commits August 13, 2026 16:07
Updated 4 files to fix the errors being thrown by TeamCity build. My
anesthesiaRecovery dataset will be created manually after deployment, so
these files needed to be updated (per Marty) to ensure the automated
tests know what the dataset will look like.

- datasets_manifest.xml: Added my dataset to the list (fixes TeamCity
error: WNPRC_EHRTest)
- datasets_metadata.xml: Listed all the columns in my dataset (fixes
TeamCity error: WNPRC_EHRTest)
- wnprcEhrTestStudyPolicy.xml: Added my table permissions (fixes
TeamCity error: testMprDataEntry)
- wnprc_ios_appModule.java: Updated my schema after changing my upgrade
script to 0.000-26.000 (fixes TeamCity error: SchemaXMLTestCase)



## Rationale
<!-- Rationale describing why this pull request is needed, what behavior
it's adding/changing/removing, etc. (replace this comment) -->

## Related Pull Requests
- <!-- list of links to related pull requests (replace this comment) -->

## Changes
- <!-- list of descriptions of changes that are worth noting (replace
this comment) -->

<!-- list of standard tasks (remove this comment to enable)
## Tasks 📍
- [ ] Claude Code Review
- [ ] Manual Testing
- [ ] Test Automation
- [ ] Verify Fix
-->
…1008)

## Rationale

The "Import Results from File" list in the virology results grid could
fail to render. Each candidate file's upload date comes from a webdav
file-history lookup, and two paths through that lookup were broken: a
file with no file system audit record threw on `history[0].data.date`,
and the lookup's own failure callback called an undefined `reject`,
throwing a ReferenceError instead of rejecting. Either one rejected the
enclosing `Promise.all`, which had no rejection handler, so the window
stayed behind a "Loading..." mask with no error shown.

## Changes

- `getFileHistory` resolves instead of rejecting on a failed lookup, so
one unreadable file no longer drops the whole import list.
- Guarded the empty-history case; those files report their upload date
as `Unknown` rather than a substituted timestamp.
- Added a rejection handler to the `Promise.all` so failures hide the
loading mask and surface an alert.
- `getFileHistory` resolves `{name, uploaded}` rather than a positional
`[filename, history]` pair.
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.

3 participants