Actions
Bug #23458
closedcontent_view_versions is not showing correct data for composite_content_view_id
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1573193
We are trying to delete one specific version of one CV from foreman.
The version ID is 234.
We expect the call
"""
https://server.example.com/katello/api/content_view_versions/234
"""
To show an array of composite content view in "composite_content_view_ids", for the CCV using this CV.
"""
- curl -X GET -k -u admin:xxx -H "Accept: application/xml" https://server.example.com:443/katello/api/content_view_versions/234
{"version":"16.0","major":16,"minor":0,"composite_content_view_ids":[],"content_view_id":5,
""
- curl -X DELETE -k -u admin:xxx -H "Accept: application/xml" https://server.example.com:443/katello/api/content_view_versions/234 {"displayMessage":"Cannot delete version while it is in use by composite content views: RHEL7_Rolling_Capsule Version 10.0,RHEL7_Rolling Version 13.0","errors":["Cannot delete version while it is in use by composite content views: RHEL7_Rolling_Capsule Version 10.0,RHEL7_Rolling Version 13.0"]}
========
Is the creation of the composite_content_view_id array bugged or are we missing something?
Updated by Andrew Kofink about 7 years ago
- Subject changed from content_view_versions is not showing correct data for composite_content_view_id to content_view_versions is not showing correct data for composite_content_view_id
- Assignee set to Thomas McKay
- Translation missing: en.field_release set to 352
Updated by Andrew Kofink over 6 years ago
- Is duplicate of Bug #25143: composite_content_view_ids field of a content_view_version is always empty added
Actions