Bug #25919
closedSatellite throws Undefined method error while importing the CVv if clone CV isnt set
Description
Description of problem:
Satellite is throwing-
Could not import the content view.:
Error: undefined method `[]' for nil:NilClass
if the clone CV is not present/created in importing Org/Satellite. We expect it to show a proper error/warning message asking the user to set the same name CV and Repo before importing the CVv.
Version-Release number of selected component (if applicable):
Satellite 6.5 snap 1
How reproducible:
Always
Steps to Reproduce:
1. Export the CVv from exporting satellite.
2. Don't create the CV and Repo with the same name as exporting CV and Repo before importing.
3. Attempt to import the CVv from exported tar.
Actual results:
Satellite is throwing an error:
```
Could not import the content view.:
Error: undefined method `[]' for nil:NilClass
```
Expected results:
Satellite should show a proper error/warning message asking the user to set the same name CV and Repo before importing the CVv.
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/624 added
Updated by Chris Roberts over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|8bd79fe62e663b743d8de2402a5a62a980fe85df.