Actions
Bug #14009
closedunable to seed since anonymous role no longer exists
Description
Seeding /home/foreman/gems/bundler/gems/foreman-tasks-b6029535ee09/db/seeds.d/20-foreman_tasks_permissions.rb rake aborted! NoMethodError: undefined method `anonymous' for #<Class:0x00000007b42470> /home/foreman/gems/gems/activerecord-4.1.14.2/lib/active_record/dynamic_matchers.rb:26:in `method_missing' /home/foreman/gems/bundler/gems/foreman-tasks-b6029535ee09/db/seeds.d/20-foreman_tasks_permissions.rb:4:in `<top (required)>' /home/foreman/gems/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:241:in `load' /home/foreman/gems/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:241:in `block in load' /home/foreman/gems/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:232:in `load_dependency' /home/foreman/gems/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:241:in `load' /home/foreman/git/foreman/db/seeds.rb:81:in `block in <top (required)>' /home/foreman/git/foreman/db/seeds.rb:79:in `each' /home/foreman/git/foreman/db/seeds.rb:79:in `<top (required)>' /home/foreman/gems/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:241:in `load' /home/foreman/gems/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:241:in `block in load' /home/foreman/gems/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:232:in `load_dependency' /home/foreman/gems/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:241:in `load' /home/foreman/gems/gems/railties-4.1.14.2/lib/rails/engine.rb:543:in `load_seed' /home/foreman/gems/gems/activerecord-4.1.14.2/lib/active_record/tasks/database_tasks.rb:198:in `load_seed' /home/foreman/gems/gems/activerecord-4.1.14.2/lib/active_record/railties/databases.rake:174:in `block (2 levels) in <top (required)>' Tasks: TOP => db:seed (See full trace by running task with --trace)
Updated by Ohad Levy almost 9 years ago
- Related to Refactor #13896: Builtin Roles badly named added
Updated by The Foreman Bot almost 9 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ivan Necas
- Pull request https://github.com/theforeman/foreman-tasks/pull/178 added
Updated by Ivan Necas almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset f3c64533041ed62adb66636967f8df3a446ec5f0.
Actions