Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queue history broken on v3.54.0 and v3.53.1 #637

Closed
RoggerFabri opened this issue Nov 9, 2020 · 6 comments
Closed

Queue history broken on v3.54.0 and v3.53.1 #637

RoggerFabri opened this issue Nov 9, 2020 · 6 comments
Labels
bug confirmed A bug that has successfully been replicated and can be resolved in progress

Comments

@RoggerFabri
Copy link

RoggerFabri commented Nov 9, 2020

Describe the bug
The queue history is not working any more after updating to 3.54.0. URL: server:port/iris/queue/history.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Now playing'
  2. Click on 'History'
  3. See error
app.min.js?v=1604908814:78 TypeError: Cannot read property 'map' of undefined
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at Function.mapToProps (app.min.js?v=1604908814:116)
    at r (app.min.js?v=1604908814:1)
    at Function.r.mapToProps (app.min.js?v=1604908814:1)
    at r (app.min.js?v=1604908814:1)
    at app.min.js?v=1604908814:1
ec @ app.min.js?v=1604908814:78
app.min.js?v=1604908814:78 Uncaught TypeError: Cannot read property 'map' of undefined
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at Function.mapToProps (app.min.js?v=1604908814:116)
    at r (app.min.js?v=1604908814:1)
    at Function.r.mapToProps (app.min.js?v=1604908814:1)
    at r (app.min.js?v=1604908814:1)
    at app.min.js?v=1604908814:1

Expected behavior
History list should show up.

Environment details:

  • OS: raspbian buster
  • Browser: chrome/firefox/edge
  • Iris version: 3.54.0
@RoggerFabri RoggerFabri added the bug label Nov 9, 2020
@jaedb
Copy link
Owner

jaedb commented Nov 11, 2020

Can you enable Test Mode (Settings > Debug > Test Mode) and then reproduce the error? Then paste the console log please.

@RoggerFabri
Copy link
Author

RoggerFabri commented Nov 11, 2020

app.min.js?v=1604908814:78 TypeError: Cannot read property 'map' of undefined
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at Function.mapToProps (app.min.js?v=1604908814:116)
    at r (app.min.js?v=1604908814:1)
    at Function.r.mapToProps (app.min.js?v=1604908814:1)
    at r (app.min.js?v=1604908814:1)
    at app.min.js?v=1604908814:1
ec @ app.min.js?v=1604908814:78
app.min.js?v=1604908814:78 Uncaught TypeError: Cannot read property 'map' of undefined
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at app.min.js?v=1604908814:16
    at Function.mapToProps (app.min.js?v=1604908814:116)
    at r (app.min.js?v=1604908814:1)
    at Function.r.mapToProps (app.min.js?v=1604908814:1)
    at r (app.min.js?v=1604908814:1)
    at app.min.js?v=1604908814:1

This is everything I get on the console log. The screen is completely black, I can't see anything else.

@RoggerFabri
Copy link
Author

Worth to mention that I also tested on v3.53.1 and the same happens.

@RoggerFabri RoggerFabri changed the title Queue history broken on 3.54.0 Queue history broken on v3.54.0 and v3.53.1 Nov 11, 2020
@jaedb
Copy link
Owner

jaedb commented Nov 14, 2020

@RoggerFabri Hmm that doesn't look like the test mode output (it references app.min.js, test mode should be using app.js).

Can you try using a browser in incognito mode, or resetting cache (Settings > Reset cache)?

Also do you mean 3.54.1?

@01tot10
Copy link

01tot10 commented Nov 14, 2020

I'm also affected by this bug, since a couple of version iterations! I updated just now to 3.54.1 and the problem to persists.
http://SERVER:PORT/iris/queue/history is showing nothing at the moment.

I'm not comfortable with the Iris debugging tools, but if you can provide me some instructions I'm happy to provide some logs.

I don't know if this is the log you are after, but after enabling Test mode in (Settings > Debug > Test Mode), the Firefox console shows the following error at the history page:

console-export-2020-11-14_12-2-57.txt

@RoggerFabri
Copy link
Author

RoggerFabri commented Nov 14, 2020

@jaedb apologies, I forgot to enable Test Mode. I meant v.3.53.1, it was not a typo. I tested on the versions:

  • v.3.53.1
  • v.3.54.0
  • v.3.54.1

All of them I have the same issue, tested on Incognito, other browsers and even other machine. Please see my log attached:

192.168.0.100-1605382071836.log

@jaedb jaedb added confirmed A bug that has successfully been replicated and can be resolved in progress labels Nov 15, 2020
@jaedb jaedb closed this as completed in 7b60f53 Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed A bug that has successfully been replicated and can be resolved in progress
Projects
None yet
Development

No branches or pull requests

3 participants