Top-level calendar add fails

Bug #2112 reported by Paul Sladen
28
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Diogo Matsubara

Bug Description

Using

  https://launchpad.net/calendar/+add

and filling in the boxes (with any values) causes a barf when the page is submitted).

Error reference: OOPS-62D415

Revision history for this message
Diogo Matsubara (matsubara) wrote :

    * Module canonical.launchpad.browser.cal, line 685, in createAndAdd
      dtstart = event.dtstart.astimezone(

AttributeError: 'NoneType' object has no attribute 'dtstart'

Christian Reis (kiko)
Changed in launchpad:
assignee: nobody → gabrielneuman
Revision history for this message
Gabriel Neuman (gabrielneuman) wrote :

I tried to compare top-level calendar add with a add link incalendar,it includes the variable in the adress:
https://launchpad.net/calendar/+add?field.dtstart=2005-02-01%2009:00
This is the variable wich is misding in the top-level.
This could be solved by several ways, I dont know wich one is the best way to do it, any sugestion?

Revision history for this message
Christian Reis (kiko) wrote :

The problem isn't that dtstart is None -- it's that event is None.

description: updated
Changed in launchpad:
assignee: gabrielneuman → matsubara
status: Unconfirmed → Confirmed
description: updated
Changed in launchpad:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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