EddieTheCubeHead / Stagnum

A website utilizing Spotify web API to transfer playback from a queue into a shareable pool.
Other
0 stars 0 forks source link

[Bug]: Pool owner cannot skip if another user has promoted a song #411

Open EddieTheCubeHead opened 1 week ago

EddieTheCubeHead commented 1 week ago

Contact details

No response

Short description

If a pool has more than one users and a non-owner user promotes a song attempting to skip will raise "User had promoted a track that does not exist in pool" if it rolls for that other user.

Steps to reproduce

  1. Create a pool with user 1
  2. Join the pool with user 2
  3. Promote a song with user 2 - doesn't matter which pool member owns the song
  4. Attempt to skip with user 1

Expected behaviour

Skip works every time

Actual behaviour

If the skip would roll the song promoted by user 2, one of the error "User had promoted a track that does not exist in pool" is displayed

Additional information

If an easy fix for promoting other users' songs is not found it can be temporarily made illegal and fixed on a feature ticket.