Bug #4689
closedapi v2 system update - passing content_view_id=nil errors
Description
Creating a system in Library with content_view_id=nil puts it in the "Default Organization View" CV. Passing nil to update errors.
Suggest either allow https://localhost:3000/katello/api/v2/content_views?organization_id=megacorp to return "Default Organization View" so the ID may be retrieved and then require it on both create and update, or allow nil to be passed to update.
Updated by David Davis over 10 years ago
- Assignee changed from David Davis to Thomas McKay
Updated by David Davis over 10 years ago
There are a couple items on the back log item dealing with this and I may or may not work on that depending on who does what.
http://pad-katello.rhcloud.com/p/convent_view_backlog
If you want, you can add this bug to the back log so that whoever works on them can update this bug but we're already aware of this.
Updated by Thomas McKay over 10 years ago
@daviddavis - what is the solution to this? (ie. do you wish to return the default CV id, or accept nil?). It seems fairly trivial to fix in the API and I could submit patch.
Updated by David Davis over 10 years ago
I'm torn. Actually I'd be ok with either or even both.
Updated by David Davis over 10 years ago
- Assignee changed from Thomas McKay to David Davis
- Priority changed from High to Urgent
Updated by David Davis over 10 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset katello|commit:017c63dd96fc789c920180916bdfc33ff339a8fd.
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13