Nuxeo mailing list archives
[Nuxeo-tickets] [Nuxeo Repository] #1736: Next month links crash on
the last days of some month
Nuxeo Repository
trac at nuxeo.com
Thu Aug 31 15:35:54 CEST 2006
#1736: Next month links crash on the last days of some month
---------------------+------------------------------------------------------
Reporter: ogrisel | Owner: lregebro
Type: defect | Status: new
Priority: P2 | Milestone: unspecified
Component: CalZope | Version: TRUNK
Severity: normal | Keywords:
---------------------+------------------------------------------------------
Steps to reproduce:
* go to some calendar on the month tab
* use the top left day widget and select the 31th of august for instance
* click on the next month tab (marked ">>"):
{{{
File
"/home/ogrisel/instances/epm/Products/CalZope/browser/navigation.py", line
110, in __init__
new_date = self.calcDate()
File
"/home/ogrisel/instances/epm/Products/CalZope/browser/navigation.py", line
199, in calcDate
return date(self.context.getYear(), self.context.getMonth(), self.day)
ValueError: day is out of range for month
}}}
Where self.day is 31 which does not exists in september.
--
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1736>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository
More information about the Nuxeo-tickets
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.