Event-adding form shouldn't include docstrings (e.g. "dtstart")

Bug #1244 reported by Matthew Paul Thomas
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Matthew Paul Thomas

Bug Description

Go to a calendar you have write access to, and follow a link to add an event

Go to a calendar you have write access to, and follow a link to add an event. Look at the explanation of the "Duration" field. It says: "The duration of the event (datetime.timedelta). You can compute the event end date/time by adding duration to dtstart." This is a docstring (from lib/schoolbell/interfaces.py). It's probably a good docstring, but a good docstring and useful help are not nearly the same thing.

Changed in launchpad:
assignee: nobody → jamesh
Revision history for this message
James Henstridge (jamesh) wrote :

These are the docstrings from the schoolbell ICalendarEvent interface. The automatic forms always include the docstrings along with the form widgets.

The problem here is that the interface's documentation is aimed at programmers rather than users.

Revision history for this message
Gabriel Neuman (gabrielneuman) wrote :

I just tried to add an event and it wasnt working,

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

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

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

neuman:
I got an identical traceback in bug #2112

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

One bug per bug report, please. This bug is about the docstrings only.

Christian Reis (kiko)
Changed in launchpad:
assignee: jamesh → mpt
Changed in launchpad:
status: New → PendingUpload
Dafydd Harries (daf)
Changed in launchpad:
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

Related questions

Remote bug watches

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