Skip to content

Component constructors being called multiple times#582

Draft
sergiocastelani wants to merge 1 commit intospadrapo:masterfrom
sergiocastelani:bug-constructing-multiple-times
Draft

Component constructors being called multiple times#582
sergiocastelani wants to merge 1 commit intospadrapo:masterfrom
sergiocastelani:bug-constructing-multiple-times

Conversation

@sergiocastelani
Copy link
Copy Markdown
Contributor

In this example setup, the constructor of the component "d-datavalue" is called 3 times for each component instantiated by the d-for.

A possible point of problem is the recursion on DrapoDocument.LoadChildSectorInternal() > DrapoDocument.ResolveChildren() > DrapoDocument.LoadChildSectorInternal(), where the d-for will be activated multiple times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant