Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#918 closed defect (fixed)

Adding hours to ticket causes an internal error

Reported by: sgonzalez@… Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords: NameError
Cc: Trac Release: 0.10

Description

When I attempt to add hours to a ticket that was created before I installed this plugin, I get the following error:

Oops… Trac detected an internal error:

If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.

Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.

TracGuide — The Trac User and Administration Guide Python Traceback

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 238, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 279, in process_request

self._do_save(req, db, ticket)

File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 546, in _do_save

cnum=internal_cnum):

File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line 265, in save_changes

listener.ticket_changed(self, comment, author, old_values)

File "build/bdist.linux-i686/egg/timingandestimationplugin/ticket_daemon.py", line 86, in ticket_changed File "build/bdist.linux-i686/egg/timingandestimationplugin/ticket_daemon.py", line 72, in watch_hours File "build/bdist.linux-i686/egg/timingandestimationplugin/ticket_daemon.py", line 15, in save_custom_field_value

NameError: global name 'name' is not defined

Attachments (0)

Change History (3)

comment:1 Changed 17 years ago by anonymous

running trac-0.10.2, and the zip version of the plugin as of 2006-11-16

comment:2 Changed 17 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

Doh... I had tried to make this work seamlessly, but name should have been field.

Thanks for the error report. It should be fixed if you get the newest version (2.6)

Sorry for the inconvenience. Russ

comment:3 Changed 17 years ago by Russ Tyndall

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.