Modify

Opened 9 years ago

Closed 9 years ago

#12613 closed defect (fixed)

KeyError: 'text'

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: TracHacksPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

Regression introduced in [15056], when viewing wiki page history or diff:

2015-12-13 18:42:37,782 Trac[main] ERROR: Internal Server Error: <RequestWithSession "GET '/wiki/TracStandalone?action=diff&version=6'">, referrer None
Traceback (most recent call last):
  File "/srv/trac-hacks.org/pve/lib/python2.7/site-packages/trac/web/main.py", line 554, in _dispatch_request
    dispatcher.dispatch(req)
  File "/srv/trac-hacks.org/pve/lib/python2.7/site-packages/trac/web/main.py", line 257, in dispatch
    self._post_process_request(req, *resp)
  File "/srv/trac-hacks.org/pve/lib/python2.7/site-packages/trac/web/main.py", line 388, in _post_process_request
    resp = f.post_process_request(req, *resp)
  File "/srv/trac-hacks.org/pve/lib/python2.7/site-packages/trachacks/web_ui.py", line 184, in post_process_request
    data['text'] = notice + data['text']
KeyError: 'text'

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by Ryan J Ollos

Status: newaccepted

comment:2 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 15127:

3.0.0dev: Fix KeyError on wiki history and diff pages

This resolves a regression in [15056].

Fixes #12613.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.