Actions
Bug #8851
closedLoading seed file of plugins with dash in name fails
Description
Running db:seed rake task does not load seed files from engines (plugins) that contains dash in their name (e.g. foreman-tasks). Here's the trace from log (no other is displayed to user).
wrong constant name Foreman-tasks /home/ares/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.21/lib/active_support/inflector/methods.rb:230:in `const_defined?' /home/ares/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.21/lib/active_support/inflector/methods.rb:230:in `block in constantize' /home/ares/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.21/lib/active_support/inflector/methods.rb:229:in `each' /home/ares/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.21/lib/active_support/inflector/methods.rb:229:in `constantize' /home/ares/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.21/lib/active_support/core_ext/string/inflections.rb:54:in `constantize' /home/ares/Projekty/Zdrojaky/foreman/db/seeds.rb:55:in `block in <top (required)>' /home/ares/Projekty/Zdrojaky/foreman/db/seeds.rb:53:in `each' /home/ares/Projekty/Zdrojaky/foreman/db/seeds.rb:53:in `<top (required)>'
The fix is trivial, PR will follow.
Updated by The Foreman Bot almost 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2051 added
- Pull request deleted (
)
Updated by Marek Hulán almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 01652bbe92a9824a82fcfd6a4f98d61478e52b52.
Updated by Dominic Cleal almost 10 years ago
- Category set to Plugin integration
- Translation missing: en.field_release set to 30
Updated by Anonymous almost 10 years ago
- Related to Bug #9141: Problems with asset precompilation with dash in plugin name added
Actions