mysociety / yournextrepresentative

A website for crowd-sourcing structured election candidate data
https://candidates.democracyclub.org.uk/
GNU Affero General Public License v3.0
56 stars 21 forks source link

Unable to update candidate #163

Closed dracos closed 9 years ago

dracos commented 9 years ago

Report of being unable to edit a candidate: https://twitter.com/EyeEdinburgh/status/559845019256115201

Sequence from log file was, I think:

[26/Jan/2015:22:34:55 "GET /
[26/Jan/2015:22:35:02 "POST /lookup/postcode
[26/Jan/2015:22:35:02 "GET /constituency/14420/edinburgh-north-and-leith
[26/Jan/2015:22:35:24 "GET /person/523/update
[26/Jan/2015:22:39:04 "POST /person/523/update
[26/Jan/2015:22:39:14 "POST /person/523/update
[26/Jan/2015:22:39:22 "GET /
[26/Jan/2015:22:39:23 "GET /
[26/Jan/2015:22:39:29 "POST /lookup/postcode
[26/Jan/2015:22:39:29 "GET /constituency/14420/edinburgh-north-and-leith
[26/Jan/2015:22:39:34 "GET /person/523/mark-lazarowicz
[26/Jan/2015:22:40:05 "GET /person/523/update
[26/Jan/2015:22:42:55 "POST /person/523/update
[26/Jan/2015:22:43:27 "GET /
[26/Jan/2015:22:43:36 "POST /lookup/postcode
[26/Jan/2015:22:43:36 "GET /constituency/14420/edinburgh-north-and-leith
[26/Jan/2015:22:43:39 "GET /person/523/mark-lazarowicz
mhl commented 9 years ago

That log, but with HTTP status codes too:

[26/Jan/2015:22:34:55 200 "GET /
[26/Jan/2015:22:35:02 302 "POST /lookup/postcode
[26/Jan/2015:22:35:02 200 "GET /constituency/14420/edinburgh-north-and-leith
[26/Jan/2015:22:35:24 200 "GET /person/523/update
[26/Jan/2015:22:39:04 200 "POST /person/523/update
[26/Jan/2015:22:39:14 200 "POST /person/523/update
[26/Jan/2015:22:39:22 200 "GET /
[26/Jan/2015:22:39:23 200 "GET /
[26/Jan/2015:22:39:29 302 "POST /lookup/postcode
[26/Jan/2015:22:39:29 200 "GET /constituency/14420/edinburgh-north-and-leith
[26/Jan/2015:22:39:34 200 "GET /person/523/mark-lazarowicz
[26/Jan/2015:22:40:05 200 "GET /person/523/update
[26/Jan/2015:22:42:55 200 "POST /person/523/update
[26/Jan/2015:22:43:27 200 "GET /
[26/Jan/2015:22:43:36 302 "POST /lookup/postcode
[26/Jan/2015:22:43:36 200 "GET /constituency/14420/edinburgh-north-and-leith
[26/Jan/2015:22:43:39 200 "GET /person/523/mark-lazarowicz
mhl commented 9 years ago

The problem here, we think, was validation errors, so really a combination of: