Actions
Bug #15871
closedMigration fails when standard roles are deleted
Status:
Closed
Priority:
Normal
Assignee:
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Description
When they are missing, getting:
undefined method `add_permissions!' for nil:NilClass /home/lzap/work/foreman_discovery/db/migrate/20160719124942_add_missing_view_permissions.rb:9:in `up' /home/lzap/.rbenv/versions/2.3.1/bin/bundle:23:in `load' /home/lzap/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>' NoMethodError: undefined method `add_permissions!' for nil:NilClass /home/lzap/work/foreman_discovery/db/migrate/20160719124942_add_missing_view_permissions.rb:9:in `up' /home/lzap/.rbenv/versions/2.3.1/bin/bundle:23:in `load' /home/lzap/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>' Tasks: TOP => db:migrate
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman_discovery/pull/290 added
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|3af1f18d1dc98dcd85282a8f09806b7121c108a6.
Actions