Behavior dirty state not working for behaviors not created in that scene
BrennaCourtney opened this issue · 0 comments
Describe the bug
When a behavior is added to a scene it was not created in, dirty state acts up.
behavior_form_editing.mp4
"Driver Front Door Open" was created in another scene and added to this one, while "wing L upper status" was created in this scene. As you can see from the video, making no changes to the first behavior prompts dirty state warning, while making no changes to the second one does not.
To Reproduce
Steps to reproduce the behavior:
- Go to an existing scene (or create a new one).
- Create a new behavior in the scene.
- Add a different, existing behavior that was created in a different scene.
- Enter the edit form for each behavior, but don't make any changes.
- Observe the different behavior.
Expected behavior
Behaviors created in other scenes but added to the current one should result in the same dirty state conditions as behaviors created in that scene (i.e. entering edit behavior form and making no changes should allow you to navigate away without a warning).
Screenshots
See above
Browser (please complete the following information):
- Chrome
Additional context
May be related to recent behavior context overhaul