Project

General

Profile

Feature #17281

Publish a CV with a puppet module raising NoMethodError with locations disabled

Added by Swapnil Abnave over 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Locations are disabled in satellite-answers.yaml(locations_enabled: false)
Not able to publish a Content-View with a puppet module.

Version-Release number of selected component (if applicable):
All versions

How reproducible:
Always

Steps to Reproduce:
1. Setup a satellite server with location disabled
2. Create and publish content-view.

Actual results:
Exception raised. Request completed with 500 error.

2016-10-26 07:57:06 [foreman-tasks/action] [E] undefined method `id' for nil:NilClass (NoMethodError)

Expected results:
Content-view should be published.

Additional Info:
From customer : Attached production.log(filename: errors.log)

Associated revisions

Revision fc9311ed (diff)
Added by Swapnil Abnave over 4 years ago

Fixes #17281 - helper method default_location_ids

History

#2 Updated by Justin Sherrill over 4 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from Publish a CV with a puppet module raising NoMethodError to Publish a CV with a puppet module raising NoMethodError with locations disabled
  • Legacy Backlogs Release (now unused) set to 114

changing this to a feature, we we've never supported with locations disabled. Other stuff may be broken.

#3 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Legacy Backlogs Release (now unused) deleted (114)
  • Pull request https://github.com/Katello/katello/pull/6449 added

#4 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 188

#5 Updated by Swapnil Abnave over 4 years ago

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

Also available in: Atom PDF