Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3199 closed defect (invalid)

misassumption on registered users

Reported by: gopher@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Matthew Good)

I've found a misassumption within Trac (on the installation at twistedmatrix.com) where registered users are believed to have a valid email address. This ultimately results in an uncaught exception:

Python Traceback

Traceback (most recent call last):
  File "/home/trac/Projects/trac/trunk/trac/web/main.py", line 283, in dispatch_request
    dispatcher.dispatch(req)
  File "/home/trac/Projects/trac/trunk/trac/web/main.py", line 170, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/trac/Projects/trac/trunk/trac/ticket/web_ui.py", line 83, in process_request
    self._do_create(req, db)
  File "/home/trac/Projects/trac/trunk/trac/ticket/web_ui.py", line 138, in _do_create
    ticket.insert(db=db)
  File "/home/trac/Projects/trac/trunk/trac/ticket/model.py", line 196, in insert
    tktObs.ticket_added(self)
  File "/home/trac/projects/trac/plugins/TICKET_EMAILER_MAN-ONE-py2.4.egg/ticket_emailer/ticket_emailer.py", line 128, in ticket_added
  File "/home/trac/projects/trac/plugins/TICKET_EMAILER_MAN-ONE-py2.4.egg/ticket_emailer/ticket_emailer.py", line 95, in ticketAddedMessage
  File "/home/trac/projects/trac/plugins/TICKET_EMAILER_MAN-ONE-py2.4.egg/ticket_emailer/ticket_emailer.py", line 86, in baseMessage
  File "/home/trac/projects/trac/plugins/TICKET_EMAILER_MAN-ONE-py2.4.egg/ticket_emailer/ticket_emailer.py", line 53, in ticketVars
RuntimeError: Visit the 'User Configuration' page and enter an email address before you create a ticket.

Attachments (0)

Change History (2)

comment:1 by Emmanuel Blot, 18 years ago

Resolution: invalid
Status: newclosed

As the Python backtrace reports, the issue occurs in a plugin not in Trac core.

I'd suggest you contact the author of the plugin as it is neither written nor maintained by the Trac team.

comment:2 by Matthew Good, 18 years ago

Description: modified (diff)

fixing traceback in description

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.