Bug 1560677

Summary: Automate Explorer: Tree sometimes shows duplicate classes
Product: Red Hat CloudForms Management Engine Reporter: Milan Falešník <mfalesni>
Component: UI - OPSAssignee: Richard Vsiansky <rvsiansk>
Status: CLOSED DUPLICATE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: cpelland, dmisharo, hkataria, lavenel, mpovolny, obarenbo
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-11-10 14:48:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Falešník 2018-03-26 17:56:16 UTC
Description of problem:
Certain steps lead to mistakenly displayed duplicate classes and that also probably causes bad tree refresh when a class is deleted.

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

How reproducible:
always

Steps to Reproduce:
1. Create a domain and a namespace
2. Create a class (1) within the namespace that has both name and display name
3. Create an another class (2) within the same namespace, this time only with name and NO display name
4. Copy the class only with name (2) within the same domain and namespace, just give it a new name (3), safest way to do it right is to lock all domains except the one you work with right now.

Actual results:
The class with name and display (1) name can be seen twice in the tree - but not in the table on the right side.

Expected results:
No duplicate display

Additional info:
After you do this and delete the copied class (3) let's say, the class won't disappear from the tree although it gets really deleted.

Comment 4 Richard Vsiansky 2018-08-30 11:09:37 UTC
Hello, 

this bug is solved by https://github.com/ManageIQ/manageiq-ui-classic/pull/3400 and this BZ is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1544844 

However, it didn't solve a bug which is described in the additional info. It should be tracked as another bug. Is it possible to create a new BZ about the bug from the additional info?

Thanks, 

Richard

Comment 5 Dmitry Misharov 2018-10-02 07:21:35 UTC
(In reply to Richard Vsiansky from comment #4)
> Hello, 
> 
> this bug is solved by
> https://github.com/ManageIQ/manageiq-ui-classic/pull/3400 and this BZ is a
> duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1544844 
> 
> However, it didn't solve a bug which is described in the additional info. It
> should be tracked as another bug. Is it possible to create a new BZ about
> the bug from the additional info?
> 
> Thanks, 
> 
> Richard

I cannot reproduce the issue described in the additional info on 5.10.0.17.20180927011235_1b5cf54. Tree nodes really get deleted.

Comment 6 Richard Vsiansky 2018-10-02 07:38:55 UTC
The issue in the additional info was fixed by https://github.com/ManageIQ/manageiq-ui-classic/pull/4572

Comment 7 Richard Vsiansky 2018-11-10 14:48:53 UTC

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