Project

General

Profile

Bug #20396

Plugin automatic assets detection doesn't respect plugin configuration

Added by Ohad Levy over 1 year ago. Updated 4 months ago.

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

Description

The assets registered via plugin settings should not be reported as warning.

From the logs on develop:

[app] [W] Plugin foreman-tasks has assets outside of its namespace, these will be ignored: trigger_form.js, foreman_tasks/trigger_form.css, foreman_tasks/tasks.css.scss, 
foreman_tasks/application.css.scss

The assets are registered in the plugin settings.


Related issues

Related to Foreman - Refactor #18512: Support sprockets-rails 3Closed2017-02-15

Associated revisions

Revision b17de844 (diff)
Added by Ivan Necas over 1 year ago

Fixes #20396 - better handling of detection of plugin assets

1. don't warn on assets that were added by plugin configuration
2. handle '-' in plugin name

History

#1 Updated by Ivan Necas over 1 year ago

  • Project changed from Foreman Remote Execution to Foreman
  • Subject changed from assets outside of its namespace to Plugin automatic assets detection doesn't respect plugin configuration
  • Description updated (diff)
  • Status changed from New to Assigned
  • Assignee set to Ivan Necas
  • Target version set to 1.17.1

Moving to foreman, as this is an issue on plugin registration API.

#2 Updated by The Foreman Bot over 1 year ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4698 added

#3 Updated by Ivan Necas over 1 year ago

  • Category set to Plugins-Engines

#4 Updated by Daniel Lobato Garcia over 1 year ago

  • Legacy Backlogs Release (now unused) set to 240

#5 Updated by Ohad Levy over 1 year ago

#6 Updated by Ivan Necas over 1 year ago

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

Also available in: Atom PDF