Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 99 - Metadata always reported as changed #111

Merged
merged 6 commits into from
Aug 26, 2021

Conversation

firthm01
Copy link
Contributor

.. even when not. Flag never reset.

Closes #99

...Otherwise you enact nothing.
BREAKS UI!
This reveals an underlying UI bug in that it is now impossible to check the checkboxes in the Add Item dialog.
Checked state should remain as the user left it.
Otherwise the old flag state still exists in the sceneStore
@firthm01 firthm01 marked this pull request as ready for review August 19, 2021 12:21
This creates a race condition where we might set false AFTER new data has come in (which in turn wouldn't get processed).
Instead set false immediately after generating the message, then set back true if send fails. If data has changed in the meantime, then that's also fine - it should be true for that case too anyway.
@rsjbailey rsjbailey merged commit 1486464 into main Aug 26, 2021
firthm01 added a commit to marthellio/ear-production-suite that referenced this pull request Sep 14, 2021
@firthm01 firthm01 mentioned this pull request Sep 28, 2021
@rsjbailey rsjbailey deleted the 99-metadata-always-reported-changed branch October 27, 2021 08:54
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.

Monitoring plugin always receives Item.changed() == true
2 participants