hjfreyer / marry-fuck-kill

http://marryfuckkill.net
Apache License 2.0
2 stars 0 forks source link

/make.do sends 500 if user clears a query field after searching #21

Closed mjkelly closed 10 years ago

mjkelly commented 10 years ago

Error is:

ValueError: Entity 0 missing attribute 'q'

When choosing an image, the query field is populated from the title. After searching, you can clear the query field and then choose an image, which results in a legal-looking state of the UI that the server rejects.

mjkelly commented 10 years ago

I discovered this by looking at the 500s in the past 24 hours. We had 3 of these, and nothing else.

mjkelly commented 10 years ago

That was easier than I thought. The new Angular app is great.