Actions
Bug #19718
closedcontent-views import fails when content view has not yet been published
Difficulty:
Triaged:
Bugzilla link:
Pull request:
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