Skip to content

Download dialogue: download current view leads to base url with null appended #970

Description

@nicolasfranck

UV version:

 universalviewer@4.0.25

I'm submitting a:

  • bug report => please fork one of these [codesandbox examples]

Current behavior:

When I use this manifest: https://adore.ugent.be/IIIF/manifests/arxiv in universalviewer.dev,
then the download dialogue links current view and the last link do not work. The first goes
to https://www.universalviewer.dev/null.

Expected behavior:

Should work

Other information:

I investigated the code it a little bit:

When I remove the check on the profile, and try to use that version 3 id attribute, then the download dialogue works again.

P.S. I embedded images from manifest https://lbiiif.riksarkivet.se/arkis!00147269/manifest, and for that manifest the download dialogue "seems" to work fine; but if you look closer it turns out that this manifest references both version 2 and version 3 image services, and that the code selects the image version 2 for use in the download dialogue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions