Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigating to accessible dandiset after failed dandiset load causes errors in GUI #2072

Open
jjnesbitt opened this issue Nov 11, 2024 · 0 comments
Labels
bug Something isn't working client Pertains to the web client

Comments

@jjnesbitt
Copy link
Member

It appears that when using the client, if the access of a dandiset fails for any reason (doesn't exist, embargoed without access, version string is wrong, etc.), then immediately navigating to a dandiset which is accessible through the "public dandisets" page fails and raises a bunch of errors. This is seemingly due to carried over state, and its interaction with the meditor. Steps to reproduce:

  1. Navigate to a bogus dandiset URL (https://dandiarchive.org/dandiset/123456/blahblahblah)
  2. Click on "Public Dandisets"
  3. Click any listed dandiset
  4. Observe errors

The reason I say it's connected to the meditor is because I observed the following console error:

Cannot destructure property 'modelValid' of 'editorInterface.value' as it is null

@jjnesbitt jjnesbitt added bug Something isn't working client Pertains to the web client labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working client Pertains to the web client
Projects
None yet
Development

No branches or pull requests

1 participant