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

GlobalActivationLevel should be SLEEPING when node is stopped. #345

Open
SamuPS opened this issue Nov 10, 2021 · 0 comments
Open

GlobalActivationLevel should be SLEEPING when node is stopped. #345

SamuPS opened this issue Nov 10, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@SamuPS
Copy link
Collaborator

SamuPS commented Nov 10, 2021

When node is stopped, it could still receive configuration changes. In that case, if transitionHandler is present, transitionAnimation would be triggered but, as UI is not there, will cause configuration to change but view wont exist.

How to solve:
Move globalActivationState to SLEEPING when node is stopped.
Check ActivityIntegrationPoint.

How to reproduce:

  1. Create an activity with a rib tree that is a Parent with a button + 2 rib childs(RibA + RibB). RibA is default one.
  2. In Container interactor bind some source( input,dependency...) to a configuration change use node.createDestroy{} scope.
  3. From the parent button trigger a new activity, from that activity modify the source binded to configuration to push RibB.
  4. Go back to initial activity.

Expected Behaviour: RibB is present.
Actual Behaviour: No rib is present.

@SamuPS SamuPS added the bug Something isn't working label Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant