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 almost 6 years ago. Updated almost 6 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

Also available in: Atom PDF