Modify ↓
Opened 12 years ago
Closed 12 years ago
#11066 closed defect (cantfix)
KeyError: 'numrows'
Reported by: | steven_rogers | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.7 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
While creating a report with empty parameter it processed this error and doesn't allow to edit the report
How to Reproduce
While doing a GET operation on /report/39
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'id': u'39'}
User Agent was: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17
System Information
Trac | 0.11.7
|
Python | 2.6.8 (unknown, Nov 7 2012, 14:47:45) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)]
|
setuptools | 0.6c12
|
SQLite | 3.3.6
|
pysqlite | 2.4.1
|
Genshi | 0.5.1
|
mod_python | 3.3.1
|
Pygments | 1.4
|
Subversion | 1.6.16 (r1073529)
|
RPC | 1.1.0-r0
|
CustomFieldAdmin | 0.2.5
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 217, in dispatch self._post_process_request(req, *resp) File "/usr/lib/python2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 309, in _post_process_request resp = f.post_process_request(req, *resp) File "/usr/lib/python2.6/site-packages/BlackMagicTicketTweaks-0.11r1-py2.6.egg/blackmagic/blackmagic.py", line 99, in post_process_request data["numrows"]-=self.blockedTickets; KeyError: 'numrows'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
The exception occurs in the BlackMagicTicketTweaksPlugin, so this is most likely a PluginIssue. Please reopen if you are able to reproduce the issue with the plugin disabled.