cozy-labs / cozy-music

Cozic, an open source music cloud
GNU Affero General Public License v3.0
6 stars 7 forks source link

shuffle button raise a javascript error #118

Closed fabienmorin closed 8 years ago

fabienmorin commented 8 years ago
Uncaught TypeError: Cannot read property 'get' of undefined

(anonymous function)    @   playlist.js:103
x.each.x.forEach    @   underscore.js:153
addCurrentPlaylistToUpNext  @   playlist.js:102
m   @   backbone.js:368
y   @   backbone.js:356
d   @   backbone.js:155
c.trigger   @   backbone.js:346
toggleShuffle   @   playerControlsExtended.js:65
dispatch    @   jquery.js:4732
v.handle    @   jquery.js:4544

when clicking on the shuffle button

flyingrub commented 8 years ago

I cannot reproduce this error, what version of music do you use ?

fabienmorin commented 8 years ago

my cozy instance display Music version 0.5.0 and chromium 53.0.2785.143

You need to enable the debugger to see this problem, else, just nothing happen when I click on it.

jsilvestre commented 8 years ago

I haven't been able to reproduce the problem neither with the same setup :-/ I also checked the code quickly, and there is no mention of the function addCurrentPlaylistToUpNext cc @flyingrub

fabienmorin commented 8 years ago

I tried again today, without any changes and now it works without any error. I don't know what was wrong.

jsilvestre commented 8 years ago

It might be a cache issue from a previous version or something like that. Let us know if it comes back! I close the issue for now.