Project

General

Profile

Actions

Bug #14898

closed

Failure when running rake config

Added by Ondřej Pražák almost 8 years ago. Updated over 5 years ago.

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

Description

rake -- config --key max_trend --value 31
#...
rake aborted!
NameError: undefined local variable or method `value' for #<ForemanConfig:0x0000001009aac8>
/home/vagrant/foreman/lib/tasks/config.rake:160:in `parse_and_set_string'
/home/vagrant/foreman/lib/tasks/config.rake:108:in `block in run_key_values'
/home/vagrant/foreman/lib/tasks/config.rake:100:in `each'
/home/vagrant/foreman/lib/tasks/config.rake:100:in `run_key_values'
/home/vagrant/foreman/lib/tasks/config.rake:77:in `run'
/home/vagrant/foreman/lib/tasks/config.rake:167:in `block in <top (required)>'
/home/vagrant/.rvm/gems/ruby-2.2.4/bin/ruby_executable_hooks:15:in `eval'
/home/vagrant/.rvm/gems/ruby-2.2.4/bin/ruby_executable_hooks:15:in `<main>'

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #14843: foreman-rake config should print errors when providing an invalid valueClosedDaniel Lobato Garcia04/27/2016Actions
Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman/pull/3486 added
Actions #2

Updated by Dominic Cleal almost 8 years ago

  • Category set to Settings
  • translation missing: en.field_release set to 136
Actions #3

Updated by Dominic Cleal almost 8 years ago

  • Related to Bug #14843: foreman-rake config should print errors when providing an invalid value added
Actions #4

Updated by Ondřej Pražák almost 8 years ago

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

Also available in: Atom PDF