Project

General

Profile

Bug #19718

content-views import fails when content view has not yet been published

Added by Andrew Kofink about 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
content-views
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

hammer_cli_csv-2.2.1.1

1. Create a content view (no repos necessary; do not publish)
2. Export content views (`hammer csv content-views --export --file /tmp/content_views.csv`)
3. Import the content views (`hammer csv content-views --file /tmp/content_views.csv)

Results:
NoMethodError (undefined method `each' for nil:NilClass):
/home/vagrant/hammer-cli-csv/lib/hammer_cli_csv/content_views.rb:155:in `promote_content_view'

Associated revisions

Revision ebb00443 (diff)
Added by Andrew Kofink about 4 years ago

Fixes #19718 - Allow import of unpublished CVs

History

#1 Updated by The Foreman Bot about 4 years ago

  • Pull request https://github.com/Katello/hammer-cli-csv/pull/155 added

#2 Updated by David Davis about 4 years ago

  • Pull request deleted (https://github.com/Katello/hammer-cli-csv/pull/155)

#3 Updated by The Foreman Bot about 4 years ago

  • Pull request https://github.com/Katello/hammer-cli-csv/pull/156 added

#4 Updated by David Davis about 4 years ago

  • Bugzilla link set to 1458575

#5 Updated by Andrew Kofink about 4 years ago

  • Status changed from New to Ready For Testing
  • Target version changed from 193 to 196

#6 Updated by Andrew Kofink about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF