dooApp/FXForm2

Unconsistent view when a bean value is updated and rollbacked immediatly to its initial value

Closed this issue · 0 comments

When a bean property is updated in the JavaFX Thread twice (set to a value and rollbacked to the initial value) FXForm do not update its view with the last update.
Exemple:
* bean property value is name1
* FXForm will show name1
* Trigger bean property update to name2 and to name1 (initial value) in javafx thread
* FXForm will show name2 instead of name1

The problem appear also if the bean property is updated and rollbacked, in another thread.

You'll find a test which reproduce the two cases and a PR which fix it.