Bug 1281477 - Saved filters are broken under Infra/Vm and Infra/Templates
Summary: Saved filters are broken under Infra/Vm and Infra/Templates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.5.0
Assignee: Martin Povolny
QA Contact: Taras Lehinevych
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-12 15:41 UTC by Martin Povolny
Modified: 2016-08-03 01:32 UTC (History)
9 users (show)

Fixed In Version: 5.5.0.11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-08 13:46:48 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-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Martin Povolny 2015-11-12 15:41:06 UTC
Description of problem:
Pre-defined saved filters (fed from db/fixtures/miq_searches.yml) do not work.

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


How reproducible:
each time

Steps to Reproduce:
1.Go to Infra-->Vms
2.Select Vm tab or Template tab (not Vm+Templates)
3.Click on a pre-defined saved filter/search


Actual results:
no data shown

Expected results:
filtered entities displayed


Additional info:
upstream fix here: https://github.com/ManageIQ/manageiq/pull/5406/

Comment 2 CFME Bot 2015-11-16 21:20:54 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=fec402599c1724364a82a2b4899929f6ae8b0070

commit fec402599c1724364a82a2b4899929f6ae8b0070
Merge: 24e004d 53a37e2
Author:     Dan Clarizio <dclarizi>
AuthorDate: Mon Nov 16 14:54:57 2015 -0500
Commit:     Dan Clarizio <dclarizi>
CommitDate: Mon Nov 16 14:54:57 2015 -0500

    Merge branch 'adv_search_fixes' into '5.5.z'
    
    Adv search fixes
    
    https://github.com/ManageIQ/manageiq/pull/5406
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1273032
    https://bugzilla.redhat.com/show_bug.cgi?id=1281477
    
    commits:
    ```
    2432e7965fe0b0f00c0ac34c868c1a91284b5b79
    1e7ab38513913e303fce98c131935ca36cc5890b
    ba5ea1ab815aa2fc5468a0a4ddddba3b0f60c069
    b02d35bbf85895c19712d2c8b01242659f08819c
    cc0f2a531c42e4ebfb3ee2df43a9e7fdd7c78d6d
    2c8179f72badd3e4b933f060c5a4a33075498d64
    9d2ca9ce4ae7022a1d8578051bcc7b764bee63cf
    ```
    
    https://github.com/ManageIQ/manageiq/pull/5440
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1281860
    
    commits:
    ```
    fb5f46036b1c1ec521bb94b6dbffa47f7299b0d8
    ```
    command:
    git cherry-pick 2432e7 1e7ab3 ba5ea1 b02d35 cc0f2a 2c8179 9d2ca9 fb5f46
    
    
    See merge request !470

 app/controllers/application_controller/filter.rb   |  15 ++-
 app/controllers/configuration_controller.rb        |   8 +-
 app/helpers/application_helper.rb                  |  13 +-
 app/presenters/tree_builder_images.rb              |   2 +-
 app/presenters/tree_builder_images_filter.rb       |   2 +-
 app/presenters/tree_builder_instances_filter.rb    |   2 +-
 app/presenters/tree_builder_vms_filter.rb          |   2 +-
 .../tree_builder_vms_instances_filter.rb           |   2 +-
 db/fixtures/miq_searches.yml                       | 132 ++++++++++-----------
 db/migrate/20151111165020_rename_miq_search_db.rb  |  15 +++
 spec/helpers/application_helper_spec.rb            |  34 +++++-
 11 files changed, 135 insertions(+), 92 deletions(-)

Comment 3 Taras Lehinevych 2015-11-19 13:45:42 UTC
Verified fixed in version 5.5.0.11

Comment 5 errata-xmlrpc 2015-12-08 13:46:48 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-2015:2551


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