Bug 1422596 - entities under provider custom_attributes don't have "delete" action with "DELETE" method listed
Summary: entities under provider custom_attributes don't have "delete" action with "DE...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Tim Wade
QA Contact: Martin Kourim
URL:
Whiteboard: api:rest:provider
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-15 16:25 UTC by Martin Kourim
Modified: 2018-03-01 13:09 UTC (History)
4 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-01 13:09:52 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Description Martin Kourim 2017-02-15 16:25:06 UTC
Description of problem:
Entities under /api/providers/:id/custom_attributes/:attr_id don't have "delete" action with "DELETE" method listed (there's just "delete" action with "POST" method), but it's possible to DELETE /api/providers/:id/custom_attributes/:attr_id anyway.


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


How reproducible:
100%


Steps to Reproduce:
1. create custom attribute
2. GET /api/providers/:id/custom_attributes/:attr_id
3. check that "delete" action with "delete" method is not listed
4. DELETE /api/providers/:id/custom_attributes/:attr_id

Expected results:
The "delete" action with "delete" method is listed.

Comment 2 Tim Wade 2017-06-27 16:31:13 UTC
PR: https://github.com/ManageIQ/manageiq/pull/14751

Comment 3 Martin Kourim 2017-10-18 22:54:02 UTC
Verified that the "delete" action with "delete" method is listed.

Comment 6 errata-xmlrpc 2018-03-01 13:09:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0380


Note You need to log in before you can comment on or make changes to this bug.