Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8692 closed defect (invalid)

KeyError: u'complete'

Reported by: pac.solution@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.4
Severity: normal Keywords:
Cc: pac.solution@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /ticket/7, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__EDITOR__1': u'wysiwyg',
 '__EDITOR__2': u'wysiwyg',
 '__FORM_TOKEN': u'f282c810503d5805711cdd3f',
 'action': u'resolve',
 'action_resolve_resolve_resolution': u'\u5bfe\u5fdc\u5b8c\u4e86',
 'cnum': u'6',
 'comment': u'\u73fe\u5728\u3001CPU\u30d5\u30a1\u30f3\u304a\u3088\u3073\u96fb\u6e90\u30d5\u30a1\u30f3\u306f2000RPM\u7a0b\u5ea6\u3092\u4fdd\u3063\u3066\u3044\u308b\u3002\r\n\r\n\u7279\u306b\u554f\u984c\u306a\u304f\u7a3c\u50cd\u4e2d\u3002\r\n\r\n\u4fee\u7406\u306f\u6b63\u5e38\u306b\u7d42\u308f\u3063\u305f\u306e\u3067\u3001\u30af\u30ed\u30fc\u30ba\u3059\u308b\u3002',
 'field_cc': u'fuwa,numata',
 'field_component': u'\u30b5\u30fc\u30d0\u969c\u5bb3\u5bfe\u5fdc',
 'field_description': u'9\u6708\u307e\u3067\u30da\u30f3\u30c7\u30a3\u30f3\u30b0\u306b\u306a\u3063\u3066\u3044\u305fyayoi\u30b5\u30fc\u30d0(ML115 G5)\u3092HDD\u4ea4\u63db\u3092\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3059\u308b\u3002\r\n\r\n\u73fe\u5728\u3001yayoi\u30b5\u30fc\u30d0\u306f\u65e5\u672cHP\u304b\u3089\u6765\u3066\u3044\u308b\u4ee3\u66ff\u6a5f\u3067\u3042\u308b\u3002\r\n\r\n\u65e5\u672cHP\u5074\u306b\u3088\u308b\u3068\u3001\u4ea4\u63db\u5bfe\u8c61\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u90e8\u54c1\u306f\u3001HDD\u3001HDD\u307e\u308f\u308a\u306e\u30b1\u30fc\u30d6\u30eb\u3001RAID\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u3001\u3053\u308c\u3089\u3092\u5168\u3066\u4ea4\u63db\u3059\u308b\u3068\u306e\u3053\u3068\u3002\r\n\r\n\u505c\u6b62\u53ef\u80fd\u65e5\u6642\u3092\u78ba\u8a8d\u3057\u3001\u65e5\u672cHP\u306b\u30e1\u30fc\u30eb\u3059\u308b\u3002\r\n\r\n\u5c1a\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u306b\u5f53\u305f\u308a\u3001HDD\u4ea4\u63db\u4f5c\u696d\u306fHDD\u306e\u30c7\u30fc\u30bf\u3092\u8ee2\u9001\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001\u7d42\u65e5\u304b\u304b\u308b\u3068\u306e\u3053\u3068\u3002',
 'field_keywords': u'',
 'field_milestone': u'\u5f8c\u671f\u958b\u59cb\u307e\u3067\u306e\u30b7\u30b9\u30c6\u30e0\u6574\u5099',
 'field_priority': u'\u9ad8',
 'field_reporter': u'fuwa',
 'field_severity': u'\u4e2d',
 'field_summary': u'yayoi\u30b5\u30fc\u30d0\u9a12\u97f3\u554f\u984c \u65e5\u672cHP\u30a8\u30f3\u30b8\u30cb\u30a2\u624b\u914d',
 'field_type': u'\u30d0\u30b0',
 'field_version': u'1.0',
 'id': u'7',
 'replyto': u'',
 'submit': u'\u5909\u66f4\u3092\u9001\u4fe1',
 'ts': u'2009-09-24 03:08:48+00:00'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; ja; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

System Information

Trac 0.11.4.ja1
Python 2.5.2 (r252:60911, Sep 30 2008, 15:42:03)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)]
setuptools 0.6c9
SQLite 3.5.9
pysqlite 2.3.2
Genshi 0.5.1
mod_python 3.3.1
Subversion 1.5.4 (r33841)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11.4.ja1-py2.5.egg/trac/web/main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.4.ja1-py2.5.egg/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.4.ja1-py2.5.egg/trac/ticket/web_ui.py", line 183, in process_request
    return self._process_ticket_request(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.4.ja1-py2.5.egg/trac/ticket/web_ui.py", line 518, in _process_ticket_request
    self._do_save(req, ticket, action)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.4.ja1-py2.5.egg/trac/ticket/web_ui.py", line 1025, in _do_save
    cnum=internal_cnum):
  File "/usr/lib/python2.5/site-packages/Trac-0.11.4.ja1-py2.5.egg/trac/ticket/model.py", line 296, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "build/bdist.linux-x86_64/egg/ganttcalendar/complete_by_close.py", line 28, in ticket_changed
    self.log.debug("complete: %s" % ticket.values[complete_field])
KeyError: u'complete'

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 15 years ago

Resolution: invalid
Status: newclosed

PluginIssue (Gantt Calendar)

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.