Skip to content

IF URL of remote file contains a uuid4 in the path, q2view will "throw a fit" (using the comment's terminology) #56

Closed

Description

@danielhjacobs

Imagine this URL is the URL of my qzv (which it is): https://dnasubway.org/backend/demux_files/d28f36cc-ce2d-4a23-a6b9-51d618fabefb-007-imported-demux.qzv

q2view will go to this path, instead of loading the URL, when this is used as a src.

// We have a local source
if (uuid4Regex.test(newSrc)) {
// We have a local source that does not match our currently loaded data.
// This is an error because we do not have access to arbitray local sources
if (newSrc !== readerModel.uuid) {
handleError(
"This was a temporary page based on local data. If you " +
"have access to this data, please reload it. To share " +
"QIIME 2 Artifacts and Visualizations, please upload your " +
"file to a file hosting service and provide the resulting " +
"URL to the home screen of this application.",
"Expired Data",
);

Activity

  1. danielhjacobs commented on Sep 29, 2025

    @danielhjacobs
    ContributorAuthor
  2. added this to 2025.10 👻 and removed this from QIIME 2 - Triage 🚑on Sep 29, 2025
  3. moved this from Backlog to Completed in 2025.10 👻on Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions