Roundup Tracker - Issues

Message5921

Author joseph_myers
Recipients joseph_myers
Date 2017-01-16.13:17:24
Message-id <1484572645.47.0.469243013408.issue2550932@psf.upfronthosting.co.za>
In-reply-to
Suppose you have a Date input field, and someone first enters a date in
that field in a format not recognized by Roundup, then uses the calendar
widget (_generic.calendar.html) to edit the date.

This uses html_calendar, which does

    curr_date = date.Date(date_str) # to highlight

which produces a Templating Error email to the admin with a backtrace
when it cannot parse the date.

Whatever is done with a badly formatted date - a message to the user
about valid date formats would seem sensible - giving a Templating Error
like that isn't user-friendly or the right thing to do.
History
Date User Action Args
2017-01-16 13:17:25joseph_myerssetrecipients: + joseph_myers
2017-01-16 13:17:25joseph_myerssetmessageid: <1484572645.47.0.469243013408.issue2550932@psf.upfronthosting.co.za>
2017-01-16 13:17:25joseph_myerslinkissue2550932 messages
2017-01-16 13:17:24joseph_myerscreate