Project

General

Profile

Bug #18723

Hammer csv content-views fails to export/import Composite Content Views

Added by Thomas McKay about 5 years ago. Updated almost 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1427456

Description of problem:

Hi,

I'm exporting/importing Composite content views from a Satellite system to a new Satellite system and the import process of composite content views generates a extraneous column:

$ cat content_views.csv
Name,Label,Organization,Composite,Repositories or Composites,Lifecycle Environments
...
WAF,1,WAF,MyOrg,Yes,"CV_RHEL72,CV_SECURITY,CV_BASE","Library,Production,QA"

The second column ("1") should not be there, as it shifts the columns and the import process fails with "WAF is not a valid organization".

Version-Release number of selected component (if applicable):

Satellite 6.2.7
tfm-rubygem-hammer_cli-0.5.1.12-1.el7sat.noarch
tfm-rubygem-hammer_cli_csv-2.2.1.1-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. hammer csv content-views > cv.csv
2. hammer csv content-views --continue-on-errors --file cv.csv


Related issues

Is duplicate of Hammer CLI CSV - Bug #18344: Exporting composite content views results in an errant 1 in the fileClosed2017-02-01

History

#1 Updated by Thomas McKay about 5 years ago

  • Project changed from Katello to Hammer CLI CSV
  • Subject changed from Hammer csv content-views fails to export/import Composite Content Views to Hammer csv content-views fails to export/import Composite Content Views
  • Category deleted (Hammer)
  • Target version set to 166

#2 Updated by Fran Garcia about 5 years ago

  • Is duplicate of Bug #18344: Exporting composite content views results in an errant 1 in the file added

#3 Updated by Thomas McKay about 5 years ago

  • Status changed from New to Duplicate

Also available in: Atom PDF