Page 1 of 1

[6.0.7110] Web player buttons don't respect context-path

Posted: 30 Aug 2015, 16:40
by Heruwar

Code: Select all

=========================================================================================
 VERSION:      MADSONIC 6.0 | BUILD: 7110.b9ea438.20150821.0127 
 SERVLET:      jetty/8.y.z-SNAPSHOT
 SERVER:       CPU: E8400 | ARCH: X64 | MEMORY: 4GB
 OS:           Ubuntu 14.04.3 LTS
 SYSTEM:       SERVER
 INSTALLER:    DEB 20150821_madsonic-6.0.7110.deb
 JAVA:         OPEN JDK 1.7.0_79
 BROWSER:      CHROME 44 | FIREFOX 39 | SAFARI 9 | OTHER
 CLIENT:       
 DESCRIPTION:  Flash player button icon URLs don't respect context-path option.
 REPRODUCIBLE: YES
=========================================================================================
The web player button icons at the bottom, to the right of the JW Flash player in madsonic 6.0 doesn't seem to respect the --context-path option.

The buttons are there and clickable, they just aren't visible because of the missing icons.

Image

For instance, the link to the stop button is example.com/icons/buttonPlayer/black/stop.png, when it should be example.com/<context-path>/icons/buttonPlayer/black/stop.png

Code: Select all

Navigated to https://example.com/madsonic/index.view
GET https://example.com/script/fontawesome/css/font-awesome.min.css 
GET https://example.com/icons/default/panel.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/rewind2.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/rewind1.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/forward1.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/stop.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/forward2.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/clear1.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/shuffle.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/saveQueue.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/lock2.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/repeat_off.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/loadQueue.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/undo.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/save.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/follow_off.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/settings1.png 404 (Not Found)
GET https://example.com/icons/default/arrow-all.png 404 (Not Found)
GET https://example.com/icons/buttonPlayer/black/lock1.png 404 (Not Found)

Re: [6.0.7110] Web player buttons don't respect context-path

Posted: 31 Aug 2015, 16:29
by Madsonic
Hi there,

Thank you for your exemplary bug report! :thumbsup: :D

All contextPath issues are fixed with next build 7140.

Best regards,
Martin