activation-key commands resulting in "has_key?" error
|Assigned To:||Brad Buckingham|
|Target version:||Sprint 31|
|Velocity based estimate||-|
|Release||Katello 2.0||Release relationship||Auto|
If an activation-key doesn't have an environment or content view assigned, attempting to execute certain commands (e.g. activation-key list, activation-key info) will result in an error to the user.
The error is:
NoMethodError (undefined method `has_key?' for nil:NilClass):
This may be related to the feature that was recently introduced to allow the keys to 'optionally' included env/view. Previously, they were required.