Invalide due date cause GTG to crash

Bug #1018805 reported by Lionel Dricot on 2012-06-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Getting Things GNOME!
Medium
Izidor Matušov

Bug Description

Insert an invalid due date in the field (it becomes red) then click in the calendar to choose another date.

Traceback (most recent call last):
  File "/home/ploum/hacking/gtg/GTG/gtk/editor/editor.py", line 399, in on_date_changed
    self.refresh_editor()
  File "/home/ploum/hacking/gtg/GTG/gtk/editor/editor.py", line 274, in refresh_editor
    prevdate = Date.parse(self.duedate_widget.get_text())
  File "/home/ploum/hacking/gtg/GTG/tools/dates.py", line 357, in parse
    raise ValueError("Can't parse date '%s'" % string)
ValueError: Can't parse date '2012-07-3131/07/12'

Related branches

Izidor Matušov (izidor) on 2012-06-30
Changed in gtg:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Izidor Matušov (izidor)
milestone: none → 0.3
Izidor Matušov (izidor) on 2012-07-03
Changed in gtg:
status: In Progress → Fix Committed
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers