Bug 1356035

Summary: Global filters are sometimes saved as regular filters
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: UI - OPSAssignee: Zita Nemeckova <znemecko>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: cpelland, dajohnso, dclarizi, hkataria, jhardy, mmojzis, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:filter
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1382829 1382834 (view as bug list) Environment:
Last Closed: 2017-06-12 16:28:31 UTC Type: Bug
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:    
Bug Blocks: 1382829, 1382834    
Attachments:
Description Flags
global filter saved as regular one none

Description Matouš Mojžíš 2016-07-13 10:08:35 UTC
Created attachment 1179180 [details]
global filter saved as regular one

Description of problem:


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

How reproducible:
50%

Steps to Reproduce:
1. Compute -> Infrastructure -> Virtual Machines
2. Add a filter, which has checked to be global
3.

Actual results:
Sometimes it's saved in My Filters instead of Global Filters

Expected results:


Additional info:

Comment 3 Matouš Mojžíš 2016-07-14 11:45:08 UTC
When I create it as global I see it in Global Filters and it has prefix Global in its name.
But when I load global filter and then save it with different name with checked global it's saved as regular filter.

Comment 4 Harpreet Kataria 2016-07-27 14:39:51 UTC
Zita,

It looks like when editing/saving an existing global filter, instead of editing selected filter a new non-global filter is being added. let me know if you need help with looking into this.

Thanks,
~Harpreet

Comment 5 Zita Nemeckova 2016-10-03 15:40:25 UTC
https://github.com/ManageIQ/manageiq/pull/11658

Comment 8 Harpreet Kataria 2016-11-18 22:01:51 UTC
*** Bug 1396511 has been marked as a duplicate of this bug. ***

Comment 9 Milan Zázrivec 2016-12-06 17:14:54 UTC
*** Bug 1396511 has been marked as a duplicate of this bug. ***

Comment 10 Matouš Mojžíš 2017-04-10 07:53:35 UTC
Verified in 5.8.0.9. Filters checked as global are now saved as global.