Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

#8243 closed defect (invalid)

NameError: global name 'data' is not defined

Reported by: admin Owned by:
Priority: highest Milestone:
Component: general Version: 0.11
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

How to Reproduce

While doing a GET operation on /admin/ticket/comments/#23, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'cat_id': u'ticket', 'panel_id': u'comments', 'path_info': u'#23'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.59 Safari/525.19

System Information

Trac 0.11
Python 2.5.2 (r252:60911, Oct 5 2008, 19:49:54)
[GCC 4.3.2]
setuptools 0.6c9
SQLite 3.5.9
pysqlite 2.4.1
Genshi 0.6dev-r1052
mod_python 3.3.1
Pygments 0.10
Subversion 1.5.1 (r32289)
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/trac/admin/web_ui.py", line 109, in process_request
    path_info)
  File "build/bdist.linux-x86_64/egg/ticketdelete/web_ui.py", line 90, in render_admin_panel
    t = self._validate(req, path_info)
  File "build/bdist.linux-x86_64/egg/ticketdelete/web_ui.py", line 158, in _validate
    data['message'] = "Ticket ID '%s' is not valid. Please try again." % arg
NameError: global name 'data' is not defined

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 11 years ago

Resolution: invalid
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from (none) 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.