Bug #18723

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

Added by Thomas McKay 7 months ago. Updated 7 months ago.

Status:Duplicate
Priority:Normal
Assigned To:Thomas McKay
Category:-
Target version:Katello - Team Tom - iteration 11
Difficulty: Pull request:
Bugzilla link:1427456
Story points-
Velocity based estimate-

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

Duplicates Hammer CLI CSV - Bug #18344: Exporting composite content views results in an errant 1 ... Closed 02/01/2017

History

#1 Updated by Thomas McKay 7 months 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 Team Tom - iteration 11

#2 Updated by Fran Garcia 7 months ago

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

#3 Updated by Thomas McKay 7 months ago

  • Status changed from New to Duplicate

Also available in: Atom PDF