Bug 1498131

Summary: It allows me to have filter with same name twice when loading global filter
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: filter:ui
Fixed In Version: 5.7.4.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1381622 Environment:
Last Closed: 2017-12-18 20:30:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1381622    
Bug Blocks:    

Comment 2 CFME Bot 2017-10-03 14:36:03 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/0e8ef2aeaa2e227d957e728cf9a9133f2a7e0422

commit 0e8ef2aeaa2e227d957e728cf9a9133f2a7e0422
Author:     Šimon Lukašík <isimluk>
AuthorDate: Mon Apr 24 17:32:17 2017 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Oct 3 10:28:48 2017 -0400

    Merge pull request #13816 from hstastna/Global_Filters-check
    
    Add method for validating global filters names
    (cherry picked from commit eb44aa8d4a5155eed9c570aadaaccfcafc9b77e8)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1498131

 app/models/miq_search.rb | 4 ++++
 1 file changed, 4 insertions(+)

Comment 3 Matouš Mojžíš 2017-11-28 09:56:27 UTC
Verified in 5.7.4.1. I can't have duplicate global filters.

Comment 6 errata-xmlrpc 2017-12-18 20:30:12 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-2017:3484