Project

General

Profile

Actions

Bug #2646

closed

Asset icon URLs are incorrect when under a different base URL

Added by Dominic Cleal over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Web Interface
Target version:
Difficulty:
Triaged:
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

Actions #1

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

Actions #2

Updated by Amos Benari over 11 years ago

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

Actions #3

Updated by Amos Benari over 11 years ago

  • Status changed from New to Ready For Testing
Actions #4

Updated by Ohad Levy over 11 years ago

  • Target version set to 1.2.0
Actions #5

Updated by Amos Benari over 11 years ago

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

Also available in: Atom PDF