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

fix: handle script.deckFromGroup(undefined) gracefully #14106

Merged

Conversation

Swiftb0y
Copy link
Member

@Swiftb0y Swiftb0y commented Jan 2, 2025

This fixes an exception occuring since #13425 where constructing a components.JogWheelBasic with only a deck number with a matching group would result an exception (since script.deckFromGroup would call substring on undefined).

CC @christophehenry

This fixes an exception occuring since mixxxdj#13425 where constructing
a `components.JogWheelBasic` with only a `deck` number with a
matching `group` would result an exception (since `script.deckFromGroup`
would call `substring` on `undefined`).
@Swiftb0y Swiftb0y added this to the 2.6-beta milestone Jan 2, 2025
@Swiftb0y Swiftb0y added the bug label Jan 2, 2025
Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thank you.

@daschuer daschuer merged commit c04076a into mixxxdj:main Jan 3, 2025
13 checks passed
@Swiftb0y Swiftb0y deleted the fix/script-deckFromGroup-undefined- branch January 3, 2025 20:13
@Swiftb0y
Copy link
Member Author

Swiftb0y commented Jan 3, 2025

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants