Modify

Opened 3 years ago

Closed 3 years ago

#9758 closed defect (fixed)

Can't delete Test Case in v1.4.9

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

Description

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/main.py", line 450, in _dispatch_request
      dispatcher.dispatch(req)
   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/web/main.py", 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/web_ui.py", 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/web_ui.py", 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/model.py", line 116, in delete
      listener.wiki_page_deleted(self)
   File "build/bdist.linux-x86_64/egg/testmanager/wiki.py", line 98, in wiki_page_deletedFile "build/bdist.linux-x86_64/egg/tracgenericclass/model.py", line 978, in deleteFile "build/bdist.linux-x86_64/egg/tracgenericclass/model.py", 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 3 years ago by seccanj

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 3 years ago by seccanj

  • Resolution set to fixed
  • Status changed from new to closed

Fixed and released with 1.4.10.

Add Comment

Modify Ticket

Action
as closed The owner will remain seccanj.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.