Project

General

Profile

Actions

Bug #25919

closed

Satellite throws Undefined method error while importing the CVv if clone CV isnt set

Added by Chris Roberts about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/624 added
Actions #2

Updated by Chris Roberts about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by Jonathon Turel about 5 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF