Actions
Bug #16745
closedKatello API : POST /katello/api/v2/content_view_versions/:id/promote results in NoMethodError
Difficulty:
medium
Triaged:
Bugzilla link:
Pull request:
Description
Description of problem:
Promoting content_view version using Katello API, responds with following error.
{"displayMessage":"undefined method `promotable_or_removable?' for nil:NilClass","errors":["undefined method `promotable_or_removable?' for nil:NilClass"]}
Error from console:
NoMethodError: undefined method `promotable_or_removable?' for nil:NilClass
Actual results:
Gives a 500(Error) response
Expected results:
Should give a 200(success) response
--
API to promote content view : The environment_id needs to be `required` instead of `optional`
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6362 added
Updated by Swapnil Abnave over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|ce140802145e328548c0e0c2e9e9fac7a307cd1f.
Actions