Modify

Opened 7 years ago

Closed 7 years ago

#13004 closed defect (fixed)

KeyError: 'fields'

Reported by: lucid Owned by: lucid
Priority: normal Component: PullRequestsPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

KeyError: 'fields'

File "build/bdist.win32/egg/trac/web/main.py", line 613, in _dispatch_request
  dispatcher.dispatch(req)
File "build/bdist.win32/egg/trac/web/main.py", line 263, in dispatch
  self._post_process_request(req, *resp)
File "build/bdist.win32/egg/trac/web/main.py", line 444, in _post_process_request
  resp = f.post_process_request(req, *resp[:-1])
File "build/bdist.win32/egg/pullrequests/web_ui.py", line 121, in post_process_request
  self._append_pr_links(req, data)
File "build/bdist.win32/egg/pullrequests/web_ui.py", line 134, in _append_pr_links
  data['fields'].append({

when clicking on "Description: modified (diff)"-link.

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by lucid

Adding and 'fields' in data to this check should fix it.

comment:2 Changed 7 years ago by lucid

In 16122:

PullRequestsPlugin: Fix problem when e.g. viewing ticket description diff.
(see #13004)

comment:3 Changed 7 years ago by lucid

Resolution: fixed
Status: newclosed

Modify Ticket

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