FLUID-6415: Corruption in graph structure when instantiating lensed components

Metadata

Source
FLUID-6415
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2019-10-19T03:57:53.209-0400
Updated
2024-07-22T10:35:06.221-0400
Versions
N/A
Fixed Versions
  1. 4.0
Component
  1. Data Binder

Description

With the introduction of FLUID-6390 lensed components, it is now possible to re-enter fluid.initModelTransaction during the same tree transaction. Since we pollute the transaction records during fluid.stronglyConnected with the book-keeping records for the Tarjan algorithm and do not clear these out, the connected components computed on the 2nd run will be corrupted, leading to an incorrect init model application order and corruption of the whole model graph.
This is observable if there is a group of initial components participating in a relay, a nested one of which then lenses some further components.