MidwestFurryFandom / rams

RAMS Core - the core Registration and Management code
GNU Affero General Public License v3.0
2 stars 2 forks source link

Dealer w/ comped tables can't upgrade to Shiny Sponsor #187

Open jmdawson opened 6 years ago

jmdawson commented 6 years ago

Why do people want to do this? I don't know! Logs held separately because they have PII.

Probably the relevant bit:

2017-11-01T02:44:47.743871403Z   File "/app/plugins/uber/uber/site_sections/preregistration.py", line 487, in confirm
2017-11-01T02:44:47.743873875Z     attendee = session.attendee(params, restricted=True)
2017-11-01T02:44:47.743876253Z   File "/app/plugins/uber/uber/models.py", line 2306, in with_validity_check
2017-11-01T02:44:47.743878762Z     attendee = orig_getter(self, *args, **kwargs)
2017-11-01T02:44:47.743881074Z   File "/app/plugins/uber/uber/models.py", line 2202, in getter
2017-11-01T02:44:47.743883587Z     inst.apply(params, bools=bools, checkgroups=checkgroups, restricted=restricted, ignore_csrf=ignore_csrf)
2017-11-01T02:44:47.743886065Z   File "/app/plugins/uber/uber/models.py", line 413, in apply
2017-11-01T02:44:47.743888488Z     check_csrf(params.get('csrf_token'))
2017-11-01T02:44:47.743890815Z   File "/app/plugins/uber/uber/utils.py", line 103, in check_csrf
2017-11-01T02:44:47.743893239Z     if csrf_token != cherrypy.session['csrf_token']:
2017-11-01T02:44:47.743895614Z   File "/app/env/lib/python3.4/site-packages/cherrypy/__init__.py", line 254, in __getitem__
2017-11-01T02:44:47.743898102Z     return child[key]
2017-11-01T02:44:47.743900437Z   File "/app/env/lib/python3.4/site-packages/cherrypy/lib/sessions.py", line 308, in __getitem__
2017-11-01T02:44:47.743902943Z     return self._data[key]
2017-11-01T02:44:47.743905308Z KeyError: 'csrf_token'
kitsuta commented 6 years ago

I couldn't reproduce this, and I believe it's an intermittent error.

On the other hand, if their group price isn't recalculated, they're not asked to pay the difference...