Modify ↓
Opened 16 years ago
Closed 16 years ago
#8213 closed defect (invalid)
KeyError: 'totalhours'
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | 0.11.4 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /ticket/4
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'8bcdef6d64c2444fd62ed4e8', 'action': u'leave', 'cnum': u'4', 'comment': u'', 'field_billable': u'1', 'field_cc': u'', 'field_checkbox_billable': u'1', 'field_component': u'AreaEditor', 'field_description': u'In the GUI of !AreaEditor it should be possible to edit the navigational lights that are attached to seamarks (see ticket:3). This includes:\r\n * add a new light sector\r\n * remove light sector\r\n * change characteristic\r\n * edit sector\r\n * start\r\n * stop\r\n * color\r\n * etc.\r\n * change other properties as\r\n * hight above sea\r\n * visible range\r\n * ++', 'field_estimatedhours': u'0', 'field_hours': u'0', 'field_keywords': u'', 'field_milestone': u'AreaEditor:_First_usable_version_for_internal_use', 'field_priority': u'major', 'field_reporter': u'eh', 'field_summary': u'Edit lights in GUI', 'field_type': u'task', 'field_version': u'', 'id': u'4', 'replyto': u'', 'submit': u'Submit changes', 'ts': u'2009-03-06 12:03:13+00:00'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)
System Information
Trac | 0.11.4
|
Python | 2.5.4 (r254:67916, Feb 17 2009, 20:36:34) [GCC 4.3.3]
|
setuptools | 0.6c9
|
SQLite | 3.6.12
|
pysqlite | 2.5.0
|
Genshi | 0.5.1
|
mod_python | 3.3.1
|
Subversion | 1.5.6 (r36142)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/web/main.py", line 435, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/web/main.py", line 205, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/ticket/web_ui.py", line 182, in process_request return self._process_ticket_request(req) File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/ticket/web_ui.py", line 508, in _process_ticket_request self._do_save(req, ticket, action) File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/ticket/web_ui.py", line 1014, in _do_save cnum=internal_cnum): File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/ticket/model.py", line 295, in save_changes listener.ticket_changed(self, comment, author, old_values) File "build/bdist.linux-i686/egg/notify/notify.py", line 43, in ticket_changed self.build_url(ticket, 'changed', comment, author) File "build/bdist.linux-i686/egg/notify/notify.py", line 51, in build_url total_hours = ticket.values['totalhours'] KeyError: 'totalhours'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
This error comes from a plugin ("notify")