[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [bug #36251] Empty stylesheet on some rendering request
From: |
David Mentré |
Subject: |
[Maposmatic-dev] [bug #36251] Empty stylesheet on some rendering requests |
Date: |
Mon, 30 Apr 2012 10:47:52 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0 |
Follow-up Comment #3, bug #36251 (project maposmatic):
Regarding this bug, would it be possible that we don't validate form
parameters against None?
For example, in following code:
http://git.savannah.gnu.org/cgit/maposmatic.git/tree/www/maposmatic/forms.py#n166
if stylesheet == '':
msg = _(u"Stylesheet required")
self._errors["stylesheet"] = forms.util.ErrorList([msg])
del cleaned_data["stylesheet"]
If stylesheet==None (e.g. after the call to cleaned_data.get("stylesheet"))
then we don't go inside this test.
I cannot tell if this is indeed the bug as I cannot reproduce the issue.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?36251>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/