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

Validate group id when adding a map gesture color mapping #4976

Merged
merged 4 commits into from
Mar 8, 2017
Merged

Validate group id when adding a map gesture color mapping #4976

merged 4 commits into from
Mar 8, 2017

Conversation

AACO
Copy link
Contributor

@AACO AACO commented Mar 8, 2017

Pretty simple change, just validate to make sure the group id we're trying to set on the name space isn't empty. This can happen if the function is called with a null group (or just an empty string as the group id) which can be a valid case in terms of JIPs trying to set a mapping for a destroyed/cleaned group.

If _group = "" then trying to use setVariable will throw a Reserved Variable error

@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Mar 8, 2017
@PabstMirror PabstMirror added this to the 3.9.1 milestone Mar 8, 2017
@PabstMirror PabstMirror merged commit acf422b into acemod:master Mar 8, 2017
@AACO AACO deleted the validate-group-id branch March 8, 2017 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants