Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1418338 - inconsistency in actions available for resource when accessed through different collections
inconsistency in actions available for resource when accessed through differe...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API (Show other bugs)
5.7.0
Unspecified Unspecified
medium Severity medium
: GA
: 5.9.0
Assigned To: Tim Wade
Martin Kourim
api:rest
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-01 10:16 EST by Martin Kourim
Modified: 2018-03-01 08:09 EST (History)
7 users (show)

See Also:
Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-01 08:09:24 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 13:37:12 EST

  None (edit)
Description Martin Kourim 2017-02-01 10:16:13 EST
Description of problem:
When provision, service and automation requests are accessed through /api/requests/:id, the "edit" action is available. When the same resource is accessed through /api/{provision,service,automation}_requests/:id, the "edit" action is not available. The "edit" action should be available regardless to what collection the resource is accessed through.


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


How reproducible:
100%


Steps to Reproduce:
1. create provision, service and automation request
2. access each request through /api/requests and through /api/{provision,service,automation}_requests


Actual results:
The "edit" action is present only when the request is accessed through /api/requests/:id


Expected results:
The "edit" action is present also when the request is accessed through /api/{provision,service,automation}_requests/:id
Comment 2 Tim Wade 2017-04-06 15:16:02 EDT
PR: https://github.com/ManageIQ/manageiq/pull/14681
Comment 5 Martin Kourim 2017-10-19 11:31:18 EDT
Verified that when provision, service and automation requests are accessed through /api/requests/:id, the "edit" action is available.
Comment 8 errata-xmlrpc 2018-03-01 08:09:24 EST
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.