Closed evildmp closed 7 years ago
Your user has ended up with two tickets, which the system assumes should never happen. This would explain why the links are missing on the page, as a call to user.tickets.get()
blows up in a template, which is then ignored. (Why oh why does the Django template language swallow exceptions when DEBUG = False
?)
I expect this is the cause of the 500 exception, although I can't be sure as we haven't set up logging properly yet. (Why oh why does Django not log exceptions to the console by default when DEBUG = False
?)
The only way I can see for this to have happened is for you to have started two orders in parallel. We should enforce that a user can only have one ticket at the database level.
The bogus address is almost certainly a red herring here, so I'll rename the issue.
Fixed through: