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 for #257 - Choosing Sunday shows no meetings found. #267

Merged

Conversation

crispyatl
Copy link
Contributor

The specific issue here is that 11th step meetings store the value "11" as an int in the "types" array instead of a string. This is passed to sanitizeTitle() which tries to apply a regex to the value, and this produces a type error since the value is an int rather than a string.

To protect against this specific case and also any other meeting info fields that might have the issue, added conversion to string of the passed value to sanitizeTitle() and sanitizeDataSort().

The specific issue here is that 11th step meetings store the value "11" as an int in the "types" array instead of a string.  This is passed to sanitizeTitle() which tries to apply a regex to the value, and this produces a type error since the value is an int rather than a string.

To protect against this specific case and also any other meeting info fields that might have the issue, added conversion to string of the passed value to sanitizeTitle() and sanitizeDataSort().
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

Successfully merging this pull request may close these issues.

2 participants