dancerfly / django-brambling

Event website manager, specifically designed for dance weekends or other events with multiple simultaneous tracks of classes.
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

Visiting missing org URL causes 500 error if multiple events have same slug as missing org #951

Closed melinath closed 3 years ago

melinath commented 4 years ago

This has happened a couple of times recently. Essentially, back in the day, we didn't group events by organizations. /<slug>/ would take you to an event. We put a shim in place to redirect people to an event by slug if no org existed with that slug; however, the workaround doesn't work if multiple events exist with the given URL; if multiple objects are returned, you instead get a 500 error.

Since the shim was added in 2015, I think we can probably remove it and just require people to have access to the full link.