Bug 1540247

Summary: Reset button doesn't work for tag page in Instances by Provider
Product: Red Hat CloudForms Management Engine Reporter: Hilda Stastna <hstastna>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: hkataria, lavenel, mpovolny, obarenbo, rbabyuk
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-31 10:52: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:
Attachments:
Description Flags
Error in find_records_with_rbac when resetting tagging of an instance none

Description Hilda Stastna 2018-01-30 15:33:10 UTC
Created attachment 1388501 [details]
Error in find_records_with_rbac when resetting tagging of an instance

Description of problem:
Reset button doesn't work for tag page for instances in Compute -> Clouds -> Instances -> Instances by Provider.

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

How reproducible:
100%

Steps to Reproduce:
1. Add some Cloud Provider (if there is no one)
2. Go to Compute -> Clouds -> Instances -> Instances by Provider tab
3. Check some instance(s) from the list of All Instances by Provider
   or go to the details page of some instance (click on it)
4. Under Policy, click on Edit Tags
5. Do some change in tags
6. Click on Reset button to reset the changes

Actual results:
Reset button does not work, nothing happens after clicking on it, just error occurs in log (in find_records_with_rbac, see the attachment). The same happens when trying to click on Reset button again.

Expected results:
Reset button should work, changes made in tag page should be reset, no error should occur.

Additional info:
After clicking on Cancel button to get out of tag page, we can see All Instances by Provider again. Also saving the changes works.

Comment 2 Ruslana Babyuk 2018-01-31 07:54:33 UTC
Looks like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1470636#attach_1297508

Comment 3 Hilda Stastna 2018-01-31 09:49:44 UTC
Thanks Ruslana, I will check if it is a duplicate for sure. If yes, I will mark this BZ as a dup.

Comment 4 Hilda Stastna 2018-01-31 10:47:52 UTC
Ruslana,
So I have checked the BZs and yes, it is a dup but I don't mark this BZ as a dup but the other one, because I have working fix and the other BZ has unmergeable fix in progress, so..

Comment 5 Hilda Stastna 2018-01-31 10:52:31 UTC
Or maybe I should close this one

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