Corruption in notifying initial transaction relays where multiple initial model values are merged

Description

In progress in https://github.com/continuing-creativity/youme/pull/2/files#diff-a133c4af0eace1a751ecd7cc8a393c78a6d11f723172b22386399a38a856705bR37 -

There is a use of integral bindings where multiple initial model values are provided - there are the in-component defaults of

and then the subcomponent initial defaults of

We see something bizarre happening, that during fluid.notifyInitModelWorkflow somehow the "new" and "old" model values are reversed - the relays are notified as if the in-component defaults are the upcoming new values, overwritng the subcomponent defaults. However, once the component actually finishes initialising in ChangeApplier.initiate.commit, we see the initial and final models the right way round, and regular model listeners are notified in the ordinary way. This makes integral bindings pretty unusable in this case. #

The workaround is to remove the in-component default values, e.g. editorString: "" in youme.demos.console.textareaWithError and jsonString: "" in youme.demos.console

Environment

None

Activity

Antranig BasmanDecember 21, 2022 at 3:11 PM

Accidentally got closed by https://github.com/fluid-project/infusion-docs/commit/b37297e84c8964e81929c7f2317ed8f49b8a398c to infusion docs which mistyped for

Antranig BasmanJuly 15, 2022 at 10:28 AM

This issue can be demonstrated by checking out https://github.com/amb26/youme/tree/FLUID-6746 and running demos/midi-console.html

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 15, 2022 at 10:25 AM
Updated December 21, 2022 at 3:11 PM
Resolved June 5, 2023 at 9:06 PM