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

Reviews screen - Loading screen shows error in console #2581

Open
Luch76 opened this issue Sep 4, 2024 · 4 comments
Open

Reviews screen - Loading screen shows error in console #2581

Luch76 opened this issue Sep 4, 2024 · 4 comments
Labels
bug Something isn't working javascript Pull requests that update Javascript code web-ui

Comments

@Luch76
Copy link
Collaborator

Luch76 commented Sep 4, 2024

Describe the bug
This error shows on the console window when loading the "Reviews" screen:
Uncaught (in promise) TypeError: Cannot destructure property 'id' of 'I' as it is undefined.
at index-osyma6T4.js:1422:16419
at Array.map ()
at _ (index-osyma6T4.js:1422:16402)

To Reproduce
Goto the Reviews screen and observe the console

@Luch76 Luch76 added bug Something isn't working web-ui javascript Pull requests that update Javascript code labels Sep 4, 2024
@mkimberlin
Copy link
Member

mkimberlin commented Sep 4, 2024

@Luch76 I tried this in dev and was unable to reproduce. Does this occur locally?

@Luch76
Copy link
Collaborator Author

Luch76 commented Sep 5, 2024

@mkimberlin Yes, only locally, I can't duplicate on dev either. Additional steps,, it does require creating a review-first: I dropped my local/podman database and re-created. I go to create a new Review,,, I fill in the dates. I then add "Awesome Baboon" and assign him a reviewer (Mighty Kangaroo),,, I then remove all other reviewees. Upon doing the "approval", I get the error. I then get the error whenever I go back to the Reviews screen

@timyates
Copy link
Collaborator

I tried and failed to reproduce this locally with the current develop branch 🤔

I may be taking a different path, or be clicking the wrong things though, do you still see it (and if so, do you have a step by step reproducer)?

@Luch76
Copy link
Collaborator Author

Luch76 commented Sep 16, 2024

Yes, I can still duplicate with the current develop branch. My steps: I drop my existing local Podman-database and re-create it (not neccessary, but just to show it happens with a "fresh start"),,, I then create a review and fill in the dates at the top,,, I then assign another member, "Mighty Baboon",,, and then navigate to home screen, and then when clicking back to the "reviews" screen, the error appears

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working javascript Pull requests that update Javascript code web-ui
Projects
None yet
Development

No branches or pull requests

3 participants