-
Notifications
You must be signed in to change notification settings - Fork 67
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
Bug - Site crashes after user searches property #1043
Comments
Running the app locally with the latest code from Error screen in local env: Console error messages in local env: So This gives a better idea of what might be causing the bug. I'll continue looking into this. |
In production env (AKA the live website), I used a debugger in Google Chrome's DevTools to see what When user first navigates to find-properties page, getSource() is passed As the find-properties page loads, getSource() is passed Finally, user goes to get-access page. As the page loads (and before it crashes), getSource() is passed Perhaps this is related to the bug. It could also be a red herring. |
So the bug is caused by changes to Mapbox in PRs #1003 and #1008. I confirmed this by visiting the Vercel preview env for PR 1003 at https://vacant-lots-proj-13xrykfdy-clean-and-green-philly.vercel.app/ I also visited the Vercel preview envs for other front-end PRs submitted around the same time as PR 1003. The error did not occur in the Vercel preview envs for those PRs: The solution is to revert PRs 1003 and 1008. I tested this in my local env, and the error was not happening locally. Screen recordingHere is a video recording of the error happening in Vercel preview env for 1003: issue.1043.-.bug.mov |
Describe the bug
When a user looks up a property and then clicks a link in the navbar, the web application crashes and shows a client-side error screen.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When user clicks a navbar link, it should take them to the correct page without crashing.
Screen recording
Site.crashes.after.user.searches.property.mov
Screenshots
Error screen
Error message in browser console
Desktop (please complete the following information):
Additional context
Reported by @brandonfcohen1 on Clean & Green Philly's Slack channel
The text was updated successfully, but these errors were encountered: