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

Condition widgets are causing persistence conflicts with Couch DB #4254

Closed
1 of 5 tasks
akhenry opened this issue Sep 23, 2021 · 1 comment
Closed
1 of 5 tasks

Condition widgets are causing persistence conflicts with Couch DB #4254

akhenry opened this issue Sep 23, 2021 · 1 comment
Labels
invalid duplicate or incorrectly filed severity:critical type:bug

Comments

@akhenry
Copy link
Contributor

akhenry commented Sep 23, 2021

Summary

Condition widgets cause persistence conflicts when viewing them, or when viewing a layout that contains persistence widgets. This is because they persist their state even when nothing has changed.

Expected vs Current Behavior

Condition widgets should not persist their state unless it has been changed. Currently persistence widgets (and possibly sets) use mutation to establish initial model state when they load, even when they're not being edited. If more than one person views a condition widget (or a layout containing it) then a conflict can occur.

Impact Check List

  • Data loss or misrepresented data?
  • Regression? Did this used to work or has it always been broken?
  • Is there a workaround available?
  • Does this impact a critical component?
  • Is this just a visual bug?

Steps to Reproduce

See VIPEROMCT-60 for detailed reproduction steps.

Environment

  • Open MCT Version: 1.7.8
  • Deployment Type: VIPER Stable
  • OS: Mac OS
  • Browser: Chrome
@akhenry
Copy link
Contributor Author

akhenry commented Sep 23, 2021

Closing as dupe of #4146

@akhenry akhenry closed this as completed Sep 23, 2021
@unlikelyzero unlikelyzero added the invalid duplicate or incorrectly filed label Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid duplicate or incorrectly filed severity:critical type:bug
Projects
None yet
Development

No branches or pull requests

3 participants