Project

General

Profile

Actions

Bug #27856

closed

Assets initializer fails to load plugins without assets defined

Added by Shimon Shtein over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin integration
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

For plugins that do not contain assets in asset pipeline (no app/assets folder exist), rake plugin:assets:precompile['my_plugin'] will create an empty manifest file.
This file will be loaded by assets initializer that is not prepared to deal with empty JSON object.

Actions #1

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7042 added
Actions #2

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 1.24.0 added
Actions #3

Updated by Shimon Shtein over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF