Bug #2646
closedAsset icon URLs are incorrect when under a different base URL
Description
Running Rails under a different base URL causes missing icons in assets. To reproduce:
1. RAILS_RELATIVE_URL_ROOT=/foreman rails s
2. view dashboard
3. check for magnifying glass icon on Search button at top
Updated by Amos Benari over 11 years ago
also missing are the overpass fonts, see error in browser console:
GET http://my.host.com:3000/assets/twitter/bootstrap/glyphicons-halflings.png 404 (Not Found) hosts:235
GET http://my.host.com:3000/assets/jquery-ui/ui-bg_flat_75_ffffff_40x100.png 404 (Not Found) jquery.js:6717
GET http://my.host.com:3000/assets/overpass_bold-web.woff 404 (Not Found) hosts:568
GET http://my.host.redhat.com:3000/assets/overpass_regular-web.woff 404 (Not Found) hosts:568
GET http://my.host.redhat.com:3000/assets/overpass_bold-web.ttf 404 (Not Found) :3000/assets/overpass_bold-web.ttf:1
GET http://my.host.com:3000/assets/overpass_regular-web.ttf 404 (Not Found) :3000/assets/overpass_regular-web.ttf:1
GET http://my.host.com:3000/assets/overpass_bold-web.svg#webfontzAU82Ltw 404 (Not Found) :3000/assets/overpass_bold-web.svg#webfontzAU82Ltw:1
GET http://my.host.com:3000/assets/overpass_regular-web.svg#webfontLTZe4IYH 404 (Not Found) :3000/assets/overpass_regular-web.svg#webfontLTZe4IYH:1
GET http://my.host.com:3000/assets/twitter/bootstrap/glyphicons-halflings-white.png 404 (Not Found) :3000/assets/twitter/bootstrap/glyphicons-halflings-white.png:1
Updated by Amos Benari over 11 years ago
also missing are the placeholder spinners in edit hst and hostgroup params and compute resource update.
Updated by Amos Benari over 11 years ago
- Status changed from New to Ready For Testing
ready for testing
https://github.com/theforeman/foreman/pull/711
Updated by Amos Benari over 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 1546388e9c82f6382be1ec35738489e8c9458c69.