Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-1620

Cannot remove listens from queue sometimes + page crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      While testing BrainzPlayer I ran into an issue as follows: on an artist page, I added all the ambient queue listens into the regular queue (using the "move to queue" button) and start playing music.
      When I then try to remove a listen from the queue, clicking the remove button in the listen submenu does not do anything.

      If I try the same process but don't start playing music, it seems the bug does not appear.
      Not sure how that relates.

      And finally if I then try to clear the queue, it looks for a second like the queue is cleared before I get this error page:

      TypeError

      Cannot read properties of undefined (reading 'track_metadata')

      The console tells me the error was thrown by: https://github.com/metabrainz/listenbrainz-server/blob/38287bb442dd8cae9941826d0b1a44f1f5287fb9/frontend/js/src/utils/utils.tsx#L864

      Testing on Brave browser on test.listenbrainz.org if that matters

            anshgoyal Ansh Goyal
            mr_monkey Monkey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package