Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#351 closed defect (fixed)

Error deleting pages with spaces in title when using AutoWikify

Reported by: rileypb@… Owned by: Alec Thomas
Priority: normal Component: AutoWikifyPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description (last modified by Alec Thomas)

Note: I'm assuming this is a bug with AutoWikify because the error crops up in that code. If this is not the case, let me know and I'll refile as a Trac defect.

  • in wiki with TRAC_ADMIN privileges
  • attempted to delete page titled 'Test This'
  • got this error:
Traceback (most recent call last):
  File "C:\PROGRA~1\Python\Lib\site-packages\trac\web\", line 130, in run
    dispatch_request(req.path_info, req, env)
  File "C:\PROGRA~1\Python\Lib\site-packages\trac\web\", line 139, in dispatch_request
  File "C:\PROGRA~1\Python\Lib\site-packages\trac\web\", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\PROGRA~1\Python\Lib\site-packages\trac\wiki\", line 96, in process_request
    self._do_delete(req, db, page)
  File "C:\PROGRA~1\Python\Lib\site-packages\trac\wiki\", line 164, in _do_delete
    page.delete(version, db)
  File "C:\PROGRA~1\Python\Lib\site-packages\trac\wiki\", line 98, in delete
  File "build\bdist.win32\egg\tracautowikify\", line 32, in wiki_page_deleted
  File "C:\Program Files\Python\lib\", line 534, in remove
    del self._data[element]
KeyError: 'Test This'

Attachments (0)

Change History (2)

comment:1 Changed 17 years ago by Alec Thomas

Description: modified (diff)

comment:2 Changed 17 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

(In [736]) Fixes #351

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
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.