Providing invalid phase in foreman-maintain upgrade run shows undefined method `to_hash' for nil:NilClass
|Assigned To:||Kavita Gaikwad|
|Target version:||Foreman - Team Anurag Iteration 21|
|Found in release:||Pull request:||https://github.com/theforeman/foreman_maintain/pull/108|
|Velocity based estimate||-|
Description of problem: While running foreman-maintain upgrade run with option --phase provided invalid phase name shows "undefined method `to_hash' for nil:NilClass".
Version-Release number of selected component (if applicable): Foreman-maintain snap 2.0
How reproducible: always
Steps to Reproduce:
1. # foreman-maintain upgrade run --phase pre-upgrade
Error as "undefined method `to_hash' for nil:NilClass"
Expected results: Error should get handled and proper message showing phase is invalid.
#2 Updated by Kavita Gaikwad 5 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_maintain|25a08e78cd81dc02ab3cfd0aa3e1b3314e3507eb.