Skip to content

Reviews screen - Loading screen shows error in console #2581

Open

Description

@Luch76

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

Activity

  1. added
    bugSomething isn't working
    javascriptPull requests that update Javascript code
    on Sep 4, 2024
  2. mkimberlin commented on Sep 4, 2024

    @mkimberlin
    Contributor

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

  3. Luch76 commented on Sep 5, 2024

    @Luch76
    ContributorAuthor

    @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

  4. timyates commented on Sep 16, 2024

    @timyates
    Contributor

    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)?

  5. Luch76 commented on Sep 16, 2024

    @Luch76
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjavascriptPull requests that update Javascript codeweb-ui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions