Bug 1327233

Summary: Images for plugins in production mode result in 404s
Product: Red Hat Satellite Reporter: Walden Raines <walden>
Component: WebUIAssignee: Walden Raines <walden>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, jcallaha, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14645
Whiteboard:
Fixed In Version: foreman-1.11.0.16-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:08:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1323076    

Description Walden Raines 2016-04-14 14:26:23 UTC
Images are going through the legacy asset helpers in sprockets-rails, we need to fix that.

For plugins we need to ensure that the digest is looking up digested assets in production and ensure that the prefix is set in order to generate the proper path for the assets.

This will allow the use of image-url in sass for the correct retrieval of digested images.

Comment 1 Walden Raines 2016-04-14 14:26:25 UTC
Created from redmine issue http://projects.theforeman.org/issues/14645

Comment 2 Walden Raines 2016-04-14 14:26:28 UTC
Upstream bug assigned to walden

Comment 3 Walden Raines 2016-04-14 14:27:27 UTC
See also https://bugzilla.redhat.com/show_bug.cgi?id=1323076

Comment 4 Walden Raines 2016-04-14 14:27:36 UTC
PR - https://github.com/theforeman/foreman/pull/3423

Comment 5 Walden Raines 2016-04-14 14:32:21 UTC
Summary:  this bug is basically just a container for the foreman changes necessary to fix bug #1323076 per our process of requiring a bug per repository.

Comment 7 Bryan Kearney 2016-04-14 16:04:09 UTC
Upstream bug component is WebUI

Comment 8 Bryan Kearney 2016-04-15 10:03:41 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14645 has been closed
-------------
Walden Raines
Applied in changeset commit:db8510329fc284bd17cea01df09ea0a5f4f5364b.

Comment 11 jcallaha 2016-04-20 20:26:23 UTC
Verified in Satellite 6.2 Beta Snap 9. The icons previously impacted are now shown.

Comment 13 errata-xmlrpc 2016-07-27 09:08:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1500