Project

General

Profile

Bug #20543

Override asset_path for sprockets in task

Added by Daniel Lobato Garcia 12 months ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Sprockets runs on its own context in the task plugin_assets.rake since #20287. This means that the asset paths are not visible to it immediately, the way we provide that functionality is by overriding a method in Sprockets that gets the paths from the Rails app since we're on Rake context.

Associated revisions

Revision 07a748a8 (diff)
Added by Daniel Lobato Garcia 11 months ago

Fixes #20543 - implement asset_path for plugin_assets

Sprockets runs on its own context in the task plugin_assets.rake since
#20287. This means that the asset paths are not visible to it
immediately, the way we provide that functionality is by overriding a
method in Sprockets that gets the paths from the Rails app since we're
on Rake context.

History

#1 Updated by The Foreman Bot 12 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4734 added

#2 Updated by Anonymous 11 months ago

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

#3 Updated by Marek Hulán 11 months ago

  • Legacy Backlogs Release (now unused) set to 240

Also available in: Atom PDF