Hierarchy tree timeline freezes after edit when key milestone events are enabled
STEPS TO REPRODUCE:
1. MUX > Hierarchies
2. Create an investment hierarchy
3. On the Investments tab add a few projects
4. On the Hierarchy view create a tree structure
5. Go to the Timeline view and edit different project names on the view. Expand and collapse the tree view. Everything works fine
6. Open a project you have got on the tree, create a milestone and set it as Key Task
7. Go back to the Hierarchy Timeline view and edit different project names on the view. Expand and collapse the tree view. Everything works fine
8. View Options > Events > Enable the Key Milestones checkbox
9. Go back to the Hierarchy Timeline view and edit different project names on the view. Expand and collapse the tree view.
Expected Results: Name editions are saved and tree expands/collapses
Actual Results: First project name edit saves. Afterwards, the page freezes
Workaround: Refresh the page or un-ckeck the Key Milestones events
Developer tools console shows the following error
ppm-components-db1241a4e8.min.js:18 Uncaught TypeError: Cannot read properties of undefined (reading '5113117')
at B.getKeyMilestonesForInvestment (ppm-components-db1241a4e8.min.js:18:1399951)
at r.renderer (ppm-components-db1241a4e8.min.js:18:1399292)
at Object.render_item (ppm-lib-959a385b0b.min.js:351:390756)
at r (ppm-lib-959a385b0b.min.js:351:161169)
at c.<anonymous> (ppm-lib-959a385b0b.min.js:351:162430)
at c.n (ppm-lib-959a385b0b.min.js:351:689491)
at e.callEvent (ppm-lib-959a385b0b.min.js:351:690114)
at c.<anonymous> (ppm-lib-959a385b0b.min.js:351:162050)
at c.n (ppm-lib-959a385b0b.min.js:351:689491)
at e.callEvent (ppm-lib-959a385b0b.min.js:351:690114)
at c.updateItem (ppm-lib-959a385b0b.min.js:351:149525)
at Object.save (ppm-lib-959a385b0b.min.js:351:233277)
at s (ppm-components-db1241a4e8.min.js:18:1517061)
Clarity 16.2.3, 16.3.0, 16.3.1
This is caused by DE165131
This is fixed in Clarity 16.3.2
Workaround: refresh the page or untick the Key Milestones events