Project

General

Profile

Actions

Bug #14009

closed

unable to seed since anonymous role no longer exists

Added by Ohad Levy almost 9 years ago. Updated almost 9 years ago.

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

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)


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #13896: Builtin Roles badly namedClosedTomer Brisker02/25/2016Actions
Actions #1

Updated by Ohad Levy almost 9 years ago

Actions #2

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
Actions #3

Updated by Ivan Necas almost 9 years ago

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

Also available in: Atom PDF