Bug 1205308 - admin user is unable to approve requests
Summary: admin user is unable to approve requests
Keywords:
Status: CLOSED DUPLICATE of bug 1199226
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.3.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.3.z
Assignee: Harpreet Kataria
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-24 16:26 UTC by Felix Dewaleyne
Modified: 2019-07-11 08:50 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-08 16:33:17 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
production.log (22.50 KB, text/plain)
2015-03-24 16:26 UTC, Felix Dewaleyne
no flags Details

Description Felix Dewaleyne 2015-03-24 16:26:46 UTC
Created attachment 1005913 [details]
production.log

Description of problem:
Following the application of the patch that solves bz#1199226, it is not possible to approve requests as admin for two reasons : 
    - the deny & allow button do not work
    - the requests pending approval cannot be listed in the graphical interface

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

How reproducible:
customer can reproduce all the time

Steps to Reproduce:
1. apply fix for bz#1199226
2. use a user to create a request that will require approval
3. use the email sent to the admin user to access the approval request
4. click on either approve or deny

Actual results:
   “Unexpected error encountered”

   Error text:

   undefined method `buttons' for #<ServiceTemplateProvisionRequest:0x0000000b63a870> [miq_request/stamp]
(see production.log as well)


Expected results:
request is accepted or denied depending the button clicked

Additional info:
- when accessing the list of pending requests on the admin account it is not possible to see the request that are pending approval for the other user.
- the default permission groups were used.

Comment 4 Felix Dewaleyne 2015-03-25 10:30:00 UTC
correction - the list of requests display the requests fine for the out-of-the-box admin and user creating the request. this means the description becomes

Description of problem:
Following the application of the patch that solves bz#1199226, it is not possible to approve requests as admin as the deny & allow button generate an error.

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

How reproducible:
customer can reproduce all the time

Steps to Reproduce:
1. apply fix for bz#1199226
2. use a user to create a request that will require approval
3. log as admin user (out of the box admin)
4. go to the list of requests to approve (interface or email received to the admin)
4. click on either approve or deny

Actual results:
   “Unexpected error encountered”

   Error text:

   undefined method `buttons' for #<ServiceTemplateProvisionRequest:0x0000000b63a870> [miq_request/stamp]
(see production.log as well)


Expected results:
request is accepted or denied depending the button clicked

Additional info:
- the default permission groups were used.
- the out-of-the-box admin was used

Comment 9 Harpreet Kataria 2015-04-08 16:33:17 UTC

*** This bug has been marked as a duplicate of bug 1199226 ***


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