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 500 error in /yourschool page #17547

Merged
merged 1 commit into from Sep 6, 2017
Merged

Fix 500 error in /yourschool page #17547

merged 1 commit into from Sep 6, 2017

Conversation

jeremydstone
Copy link

The /yourschool page after my recent change to include the school control works locally but fails on staging/test or if you don't run dashboard and pegasus in the same process locally. It turns out some HAML that was copied from dashboard to pegasus was relying on the SchoolInfo constants which are defined elsewhere in dashboard. This lucked out and worked locally where dashboard and pegasus run in the same process, but fails in the real world where dashboard and process are separate. The fix is to replace the constants with the literal values on the pegasus side. We are planning to remove this control and replace it with a new autocomplete control, otherwise I would look at moving the constants into some shared place.

@jeremydstone jeremydstone merged commit 6905606 into staging Sep 6, 2017
@jeremydstone jeremydstone deleted the yourschool_fix branch September 6, 2017 22:44
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

3 participants