Bug 1322934 - SSUI - Filters are not working correctly for "Pending" requests
Summary: SSUI - Filters are not working correctly for "Pending" requests
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: GA
: 5.7.0
Assignee: Aparna Karve
QA Contact: Shveta
URL:
Whiteboard: ssui:filter
Depends On:
Blocks: 1344328
TreeView+ depends on / blocked
 
Reported: 2016-03-31 17:21 UTC by Colleen Hart
Modified: 2017-01-12 04:54 UTC (History)
9 users (show)

Fixed In Version: 5.7.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1344328 (view as bug list)
Environment:
Last Closed: 2017-01-11 19:53:51 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Pending Requests (167.10 KB, image/tiff)
2016-03-31 17:21 UTC, Colleen Hart
no flags Details

Description Colleen Hart 2016-03-31 17:21:32 UTC
Created attachment 1142314 [details]
Pending Requests

Description of problem:
When filtering by "Request Status: Pending" there will never be results because the actual pending requests are labeled with "pending_approval" and showing up as a different filter. When the user goes to My Requests and filters by "Request Status: Pending," there are no results. However, if the use clicks on the pending requests from the Dashboard link, the automatically applied filter is different and does show results.


How reproducible:
See steps below to reproduce.


Steps to Reproduce:
1. From the Dashboard click on the #displaying the pending requests
2. One filter should automatically be applied on the Request Status. Add another filter on "Request Status" and filter by "Pending"
3. Both sets of syntax will be displayed. The results could differ depending on which filter is removed.

Comment 3 Shveta 2016-04-12 23:14:45 UTC
Self Service UI does not show pending requests .
I created a service reconfigure request that stayed in pending state.

It didn't show in SSUI .
Is that expected ?

Comment 6 CFME Bot 2016-06-02 16:57:43 UTC
New commit detected on ManageIQ/manageiq-ui-self_service/master:
https://github.com/ManageIQ/manageiq-ui-self_service/commit/5ba7b4afb736cdf29833ee5c108e66111d81a837

commit 5ba7b4afb736cdf29833ee5c108e66111d81a837
Author:     Aparna Karve <akarve>
AuthorDate: Wed Jun 1 10:35:04 2016 -0700
Commit:     Aparna Karve <akarve>
CommitDate: Wed Jun 1 11:09:42 2016 -0700

    List items should be checked with the actual filter value
    
    List items should be checked with the actual filter value as opposed to
    the displayed Filter value String in the UI
    displayed Filter value in the UI - "Pending"
    Actual Filter value 'pending_approval'
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1322934

 client/app/states/dashboard/dashboard.html    |  2 +-
 client/app/states/requests/list/list.state.js | 13 +++++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

Comment 8 Shveta 2016-09-21 17:29:00 UTC
Fixed.
Verified in 5.7.0.0.20160906172503_12f65cb


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