Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#11757 closed defect (cantfix)

KeyError: 'custom'

Reported by: wangjingyao Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /ticketgantt, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0

System Information

Trac 0.12.3
Babel 0.9.5
Docutils 0.5
Genshi 0.6
mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
Pygments 1.4
pysqlite 2.6.0
Python 2.6.5 (r265:79063, Feb 6 2012, 20:04:18)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)]
setuptools 0.6c11
SQLite 3.7.3
Subversion 1.7.1 (r1186859)
jQuery 1.4.4

Enabled Plugins

BatchModify 0.8.1-trac0.12dev
TracGanttCalendarPlugin 0.6.3

Python Traceback

Traceback (most recent call last):
  File "/opt/bitnami/apps/trac/lib/Trac-0.12.3-py2.6.egg/trac/web/main.py", line 522, in _dispatch_request
    dispatcher.dispatch(req)
  File "/opt/bitnami/apps/trac/lib/Trac-0.12.3-py2.6.egg/trac/web/main.py", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "/opt/bitnami/python/lib/python2.6/site-packages/TracGanttCalendarPlugin-0.6.3-py2.6.egg/ganttcalendar/ticketgantt.py", line 496, in process_request
    any(f['name'] == sorted_field and f['custom'] for f in fields):
  File "/opt/bitnami/python/lib/python2.6/site-packages/TracGanttCalendarPlugin-0.6.3-py2.6.egg/ganttcalendar/ticketgantt.py", line 496, in <genexpr>
    any(f['name'] == sorted_field and f['custom'] for f in fields):
KeyError: 'custom'

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 10 years ago

Resolution: cantfix
Status: newclosed

A duplicate of #11745. Please search tickets before submitting.

Also, PluginIssue (​th:GanttCalendarPlugin).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.