Project

General

Profile

Actions

Bug #18977

closed

Do not raise an exception when creating a role during plugin initialization

Added by Adam Ruzicka over 7 years ago. Updated over 6 years ago.

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

Description

When a plugin defines a role depending on a permission added by core's seeds, the plugin will fail to initialize on a unseeded database. Logging the error instead of raising would make the plugin initialize. Roles will be added on later restarts.

For more information see discussions on these PRs:
https://github.com/theforeman/foreman-packaging/pull/1561
https://github.com/theforeman/foreman-packaging/pull/1542

Actions #1

Updated by The Foreman Bot over 7 years ago

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

Updated by Anonymous over 7 years ago

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

Updated by Dominic Cleal over 7 years ago

  • Category set to Plugin integration
Actions #4

Updated by Ohad Levy over 7 years ago

  • Translation missing: en.field_release set to 209
Actions

Also available in: Atom PDF