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

nested contexts do not match all element of the nested "branch" #491

Open
bmoesdijk opened this issue Jun 21, 2017 · 0 comments
Open

nested contexts do not match all element of the nested "branch" #491

bmoesdijk opened this issue Jun 21, 2017 · 0 comments

Comments

@bmoesdijk
Copy link

In ControlPlane you can nest the contexts but it seems that there is no check for when higher contexts in a nested branch are met or not. e.g. I can have a main context called "PowerAdapter" and then 2 nested contexts within PowerAdapter called "PowerWork" & "PowerHome" Than under "PowerHome" I have 2 other nested contexts called "LidOpen & LidClosed. I want ControlPlane to only execute on the actions defined under "PowerAdapter/PowerHome/LidOpen" or /LidClosed when the full condition of this nested context structure is met, so when all contexts of the "tree branch" are true. Currently the actions are performed no matter what the higher layer context status (true/false) are. Is this intended or is this a bug?

@bmoesdijk bmoesdijk changed the title nested contexts do not match all element of the tested "branch" nested contexts do not match all element of the nested "branch" Jun 21, 2017
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

No branches or pull requests

1 participant