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

When cold loading the uploads page, the project information fails to load correctly #2050

Open
atruskie opened this issue Apr 3, 2023 · 0 comments
Assignees
Labels
bug Something isn't working triage:medium Medium priority issue or pull request

Comments

@atruskie
Copy link
Member

atruskie commented Apr 3, 2023

Describe the bug

When linking directly to the upload page it appears the porject model is not loaded.

To Reproduce
Steps to reproduce the behavior:

  1. Be signed in.
  2. hard load the uploads page via pasting the url in a new tab
  3. Observe faults:

image

  • signed in as admin, but no upload permission
  • no "new upload" button
  • no project load request in network tab

Expected behavior

The project should be loaded as well as that model is a required in a parent route.

We may need to relearn how the angular component resolver/loader works.

Screenshots

As above

Desktop (please complete the following information):

N/A

Smartphone (please complete the following information):

N/A

Additional context

The bug does not happen if the project details page is loaded first, and then the upload list page is navigated to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage:medium Medium priority issue or pull request
Projects
None yet
Development

No branches or pull requests

2 participants