Project

General

Profile

Actions

Bug #19718

closed

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

Added by Andrew Kofink almost 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
content-views
Target version:
Difficulty:
Triaged:
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'

Actions #1

Updated by The Foreman Bot almost 7 years ago

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

Updated by David Davis almost 7 years ago

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

Updated by The Foreman Bot almost 7 years ago

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

Updated by David Davis almost 7 years ago

  • Bugzilla link set to 1458575
Actions #5

Updated by Andrew Kofink almost 7 years ago

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

Updated by Andrew Kofink almost 7 years ago

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

Also available in: Atom PDF