Bug #18723
closedHammer csv content-views fails to export/import Composite Content Views
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
Updated by Thomas McKay almost 8 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
Updated by Fran Garcia almost 8 years ago
- Is duplicate of Bug #18344: Exporting composite content views results in an errant 1 in the file added