Closed benrr101 closed 10 years ago
I think this was overridden by the mechanism that determines if a user has access to a given playlist/track. We do a cheap lookup of the playlist and verify that the owner is the same as the one associated with the session. It makes this bug obsolete.
Replace the if exists checks when adding rules/tracks to playlists with SQL exception handling for foreign key constraint failures.