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 ArgumentError in VolunteerEngineerSubmission2015 #31583

Merged
merged 1 commit into from Oct 30, 2019

Conversation

islemaster
Copy link
Contributor

@islemaster islemaster commented Oct 30, 2019

I forgot that this parameter would be a string. Casting it with to_i to resolve. I've also updated the test to catch this scenario.

This small fix for the ArgumentError probably does not fix a more general issue with the performance of the volunteer map query, which may require we rethink the behavior of this page.

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

I forgot that this parameter would be a string.  Casting it with `to_i`
to resolve. I've also updated the test to catch this scenario.

I started working on the Volunteer map in #31493

This regression was introduced in #31541

Honeybadger error: https://app.honeybadger.io/projects/34365/faults/56475122

Slack conversation: https://codedotorg.slack.com/archives/C55JZ1BPZ/p1572393884034500

This small fix for the ArgumentError probably does not fix a more general issue with the performance of the volunteer map query, which may require we rethink the behavior of this page.
@islemaster islemaster merged commit f7d6756 into staging Oct 30, 2019
@islemaster islemaster deleted the volunteer-map-fix branch October 30, 2019 17:42
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.

None yet

2 participants