GTG

Invalide due date cause GTG to crash

Bug #1018805 reported by Lionel Dricot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
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)
Changed in gtg:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Izidor Matušov (izidor)
milestone: none → 0.3
Izidor Matušov (izidor)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.