Description of problem:
"Tasks" drawer at the bottom of the webadmin should display tree of jobs, steps and substeps. But currently, it displays substeps several times - once in the correct place in the tree and also on all previous levels. The corresponding structure in the DB is correct.
Also, when user click on "+" to open a branch, it closes shortly, so it's practically impossible to open the whole tree.
How reproducible:
100%
Steps to Reproduce:
1. Create a VM pool with one or several VMs.
2. Open the "Tasks" drawer at the bottom.
Actual results:
The drawer shows steps and substeps mixed. The topmost job "Creating VM Pool" contains several Validating, Executing and Finalizing steps and so on.
Expected results:
The drawer shows the correct jobs/steps tree.
Additional info:
(In reply to Oved Ourfali from comment #1)
> Shmuel - I guess you refer to recursive hierarchy?
> Moti - do we support recursiveness there?
yes, the steps are implemented as a composite pattern - each step may have sub steps.
There were few changes around the fetch method of sub-steps by commit:
92dca0ea7fff25c8e8e8e509241df1158928e180
Is it possible to verify the same scenario before that commit was introduced ?