Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8678 closed defect (wontfix)

AttributeError: 'NoneType' object has no attribute 'has_key'

Reported by: matthias.albert@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.1
Severity: normal Keywords:
Cc: andrea.tomasini@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

Well I can't say, how I can reproduce it → but the last few days I got many requests from my colleaguess that they can't close a ticket for example. So I thaught it is a good idea to open a bug here :-).

Best wishes,

Matthias

Request parameters:

{'__FORM_TOKEN': u'd1c26158ece587dc1d167f83',
 'action': u'resolve',
 'action_resolve_resolve_resolution': u'fixed',
 'cnum': u'2',
 'comment': u'',
 'field_description': u'',
 'field_drp_resources': u'',
 'field_remaining_time': u'8',
 'field_reporter': u'mgeiger',
 'field_sprint': u'iPros_Sprint_0109',
 'field_summary': u'How-To-Demo',
 'field_type': u'task',
 'id': u'89',
 'pane': u'edit',
 'replyto': u'',
 'submit': u'Submit changes',
 'ts': u'2009-09-07 07:35:33+00:00'}

User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; de-de) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9

System Information

Trac 0.11.1
Python 2.5.2 (r252:60911, Jan 4 2009, 22:17:10)
[GCC 4.3.2]
setuptools 0.6c8
MySQL server: "5.0.83-community-log", client: "5.0.51a", thread-safe: 1
MySQLdb 1.2.2
Genshi 0.5.1
mod_python 3.3.1
Pygments 0.10
Agilo 0.8.0.1-r1832-20090809
Subversion 1.5.1 (r32289)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 173, in dispatch
    chosen_handler)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 286, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.5/site-packages/agilo-0.8.0.1_r1832_20090809-py2.5.egg/agilo/utils/web_ui.py", line 212, in pre_process_request
    elif self._alias_to_type.has_key(req.args[typedef]):
AttributeError: 'NoneType' object has no attribute 'has_key'

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 15 years ago

Cc: andrea.tomasini@… added
Resolution: wontfix
Status: newclosed

PluginIssue (Agilo).

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.