Bug 1381157

Summary: UI problem when copying an instance
Product: Red Hat CloudForms Management Engine Reporter: Milan Falešník <mfalesni>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, dajohnso, dhalasz, hkataria, jhardy, mkanoor, mpovolny, obarenbo, simaishi, sshveta, tfitzger
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: automate:ui
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1386345 (view as bug list) Environment:
Last Closed: 2017-06-12 16:47:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1386345    

Description Milan Falešník 2016-10-03 09:27:01 UTC
Description of problem:
When copying an instance to a different domain, then after hitting the Copy button, spinner appears and disappears but the page remains the same. Then when you try clicking Copy, Cancel ... it does nothing. When you navigate away, you can see the instance got copied. This most likely happens for all kinds of Automate objects.

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

How reproducible:
always

Steps to Reproduce:
Described in description

Actual results:
The copy screen stays on

Expected results:
The copy screen goes away

Additional info:

Comment 2 Dávid Halász 2016-10-03 13:37:15 UTC
This is a bug in our fork of bootstrap-treeview. Will be fixed in: https://github.com/patternfly/patternfly-bootstrap-treeview/pull/11

Comment 3 Shveta 2016-10-11 14:43:44 UTC
*** Bug 1382131 has been marked as a duplicate of this bug. ***

Comment 5 CFME Bot 2016-10-18 08:20:55 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/68dd36578eece3c4e6b618307be3e3bf3ef927b5

commit 68dd36578eece3c4e6b618307be3e3bf3ef927b5
Author:     Dávid Halász <dhalasz>
AuthorDate: Mon Oct 17 17:32:08 2016 +0200
Commit:     Dávid Halász <dhalasz>
CommitDate: Mon Oct 17 17:32:08 2016 +0200

    Updated patternfly-bootstrap-treeview to 2.1.1
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1381157

 bower.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 7 CFME Bot 2016-11-09 17:36:53 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/b6b71a5295f41f0fceb048ac9158c17e19ae6307

commit b6b71a5295f41f0fceb048ac9158c17e19ae6307
Author:     Dávid Halász <dhalasz>
AuthorDate: Mon Nov 7 17:28:21 2016 +0100
Commit:     Dávid Halász <dhalasz>
CommitDate: Tue Nov 8 11:35:53 2016 +0100

    Fixed miqRemoveNodeChildren to remove the children, not the parent
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1381157

 app/assets/javascripts/miq_tree.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comment 8 Milan Falešník 2017-03-01 11:21:07 UTC
Verified in 5.8.0.2 - I noticed no copy problems.