Opened 6 years ago

Closed 6 years ago

#9758 closed defect (fixed)

Can't delete Test Case in v1.4.9

Reported by: anonymous Owned by: Roberto Longobardi
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


To reproduce:

  • Click "Delete page" button at the bottom of a Test Case page.
  • Click "Delete page" button on confirmation page.

Test Case page is not deleted. Following error message is displayed:

Trac detected an internal error:
   NameError: global name 'custom_fields' is not defined

Python Traceback

Most recent call last:
   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/web/", line 450, in _dispatch_request
   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/web/", line 206, in dispatch
      resp = chosen_handler.process_request(req)
   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/wiki/", line 147, in process_request
      self._do_delete(req, versioned_page)
   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/wiki/", line 253, in _do_delete
      page.delete(version, db)
   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/wiki/", line 116, in delete
   File "build/bdist.linux-x86_64/egg/testmanager/", line 98, in wiki_page_deletedFile "build/bdist.linux-x86_64/egg/tracgenericclass/", line 978, in deleteFile "build/bdist.linux-x86_64/egg/tracgenericclass/", line 669, in delete

System Information:

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7

Trac:	0.11.6
Python:	2.6.2 (release26-maint, Apr 19 2009, 01:58:18) [GCC 4.3.3]
setuptools:	0.6c9
SQLite:	3.6.10
pysqlite:	2.5.0
Genshi:	0.5.1
Pygments:	1.4
RPC:	1.0.6
CustomFieldAdmin:	0.2.2
Docutils:	0.5
jQuery:	1.2.6

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Roberto Longobardi

Oooops, I'm only seeing this ticket now... Too much junk mail in my inbox that I'm missing the important ones...

I'll take a look at it asap.

comment:2 Changed 6 years ago by Roberto Longobardi

Resolution: fixed
Status: newclosed

Fixed and released with 1.4.10.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Roberto Longobardi.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.