Project

General

Profile

Bug #2646

Asset icon URLs are incorrect when under a different base URL

Added by Dominic Cleal about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Web Interface
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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

Associated revisions

Revision 1546388e (diff)
Added by Amos Benari about 6 years ago

fixes #2646 Asset icon URLs are incorrect when under a different base URL

Revision 81151cb7 (diff)
Added by Amos Benari about 6 years ago

fixes #2646 Asset icon URLs are incorrect when under a different base URL
(cherry picked from commit 1546388e9c82f6382be1ec35738489e8c9458c69)

History

#1 Updated by Amos Benari about 6 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

#2 Updated by Amos Benari about 6 years ago

also missing are the placeholder spinners in edit hst and hostgroup params and compute resource update.

#3 Updated by Amos Benari about 6 years ago

  • Status changed from New to Ready For Testing

#4 Updated by Ohad Levy about 6 years ago

  • Target version set to 1.2.0

#5 Updated by Amos Benari about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF