BerkeleyAutomation / malasakit

Malasakit is a customizable participatory assessment platform that collects and integrates quantitative assessment, qualitative feedback, and peer-to-peer collaborative filtering on ways local communities can become better prepared for typhoons and floods.
2 stars 8 forks source link

views.py assumes all ratings are in the database and fetched in order. #29

Closed JustinMi closed 7 years ago

JustinMi commented 7 years ago

This one is sort of big. Here’s the link to the screenshot: https://drive.google.com/open?id=0B9O5aF-I424xVkhNVGZPd05Xdms. I accessed the page at http://opinion.berkeley.edu/pcari-test/comparison/5/ and then I randomly switched between pages by modifying the page number in the link and using the provided buttons. Will notify the team once ableFor example, when you are on the landing page, click begin, backspace / hotkey for “back”, and then begin again from the landing page, there is a CSRF verification error. to replicate. In the meantime, I have provided the error message so we can get started on addressing this one right away. The problem is that lines 332 - 350 in views.py assumes all ratings are in the database and fetched in order.