Skip to content

Fix download dialogue bug in 4.4.0-rc1#1

Merged
jamesmisson merged 1 commit into
release-4.4.0-rc1from
download-choice
May 21, 2026
Merged

Fix download dialogue bug in 4.4.0-rc1#1
jamesmisson merged 1 commit into
release-4.4.0-rc1from
download-choice

Conversation

@jamesmisson
Copy link
Copy Markdown
Owner

This fixes the bug Lanie identified in 4.4.0-rc1 here: UniversalViewer#1761

The problem was that openMedia goes off into a different way of rendering the images if there are choices on the manifest. This was skipping the use of the getExternalResources method on the extension, which fetches the resources for the download dialogue. So I've just moved this call to before the choice branch splits off.

This fixes the bug, but the download dialogue is still limited to the first choice. A new issue will need to be opened to enable the download dialogue to offer the download for the currently visible choice.

@demiankatz
Copy link
Copy Markdown

Thanks, @jamesmisson -- the code change looks reasonable to me. If @LanieOkorodudu has time to test and confirm that it works as expected on her end, I'd encourage her to approve and you to merge this when ready.

@jamesmisson jamesmisson merged commit 4a1e885 into release-4.4.0-rc1 May 21, 2026
4 checks passed
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