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

Update parameter name to avoid conflicts with search parameters. #567

Merged
merged 5 commits into from
Jul 8, 2019

Conversation

brandonpollett
Copy link
Contributor

@brandonpollett brandonpollett commented Jul 3, 2019

Description

Some resources define search parameters that are the same as parameters on controllers. When one of these is used it would override the route value supplied and potentially throw a 500 exception. This PR updates the parameter names to something that is less likely to collide with a search parameter name.

Related issues

Addresses AB#69304.

Testing

Manual testing that 500 hundred errors are no longer thrown and all existing tests were run.

@brandonpollett brandonpollett merged commit 6924ef5 into master Jul 8, 2019
@brandonpollett brandonpollett deleted the personal/brpoll/type-route-fix branch July 8, 2019 22:57
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