Bug 1026185

Summary: [RFE][TreeView] After add child node to current plan, the Tree View is reload, but button in this label isn't updated, there is no 'Remove child node from current plan XXX' button.
Product: [Other] TCMS Reporter: Chen Chen <chechen>
Component: UsabilityAssignee: cqi
Status: VERIFIED --- QA Contact: Nobody <nobody>
Severity: low Docs Contact:
Priority: low    
Version: 3.8.5CC: cqi, jcai, junzhang, ryang, xkuang, yuwang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Chen Chen 2013-11-04 06:59:05 UTC
Description of problem:
Enter a plan which has no child node, click 'Tree View' label, add child node to current plan, then the Tree View reload again, but buttons in this label aren't updated, there is no 'Remove child node from current plan XXX' button. 
If refresh this page, then 'Remove child node from current plan XXX' button will be shown.

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

How reproducible:
100%

Steps to Reproduce:
1.Enter a plan which has no child node, click 'Tree View' label.
2.Add child node to current plan.

Actual results:
2.The Tree View and buttons in this label reload again.

Expected results:
2.The Tree View reload again, but buttons in this label aren't updated, there is no 'Remove child node from current plan XXX' button.

Comment 1 cqi 2013-11-07 14:11:00 UTC
same as Bug 846554

Comment 3 cqi 2013-12-21 14:15:12 UTC
Fixed. Now, the "Remove child node from current plan XXX" button shows all the time, but only enabled when current test plan has at least one child plan.

Comment 4 yangqiu 2014-03-07 02:41:08 UTC
Verify the bug in version 3.8.6 on dev server.--->Pass
Verify steps as description.

Steps to verify:
1.Enter a plan which has no child node, click 'Tree View' label.
2.Add child node to current plan.
3.Remove the child node from the current plan.

Actual results:
for step 1.system show remove child node but can not be clicked.
for step 2.The Tree View and buttons in this label reload again, system show remove child btn and can be clicked.
for step 3.The Tree View and buttons in this label reload again, system show remove child btn but can not be clicked.