Closed toconnell closed 6 years ago
Something's going on where the asset ID being requested is like...not an OID and is getting coerced to it. The actual OID is in the params, but for some reason, session.py appears to be losing the plot somewhere.
Le sigh.
Turns out that session.Session.change_current_view() was only setting self.session['current_settlement'] for the 'view_campaign' view, i.e. not for 'view_settlement'.
The result was that we were duck-typing None to an OID and thus getting an invalid settlement ID, etc.
This legacy webapp really...needs to go away.
Anyway, fix will be deployed in the next release.
Legacy webapp crash email:
I've gotten three of these since the last release, so there's something going on here.
It appears to be affecting new and older users: last night's user is 168 days old and the one from the 13th (two days ago) was brand new at the time.
Kind of scratching my head here.