Edgewall Software

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11534 closed defect (cantfix)

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

Reported by: mjagusiak Owned by:
Priority: normal Milestone:
Component: admin/web Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


How to Reproduce

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

(please provide additional details here)

Request parameters:

{'__EDITOR__1': u'textarea',
 '__FORM_TOKEN': u'719606c8251643e4eb394f57',
 'field_cc': u'',
 'field_component': u'component2',
 'field_description': u'gfd gdfg sdfg dfsdfsgds gdsf gdfsg ',
 'field_keywords': u'',
 'field_milestone': u'milestone1',
 'field_owner': u'',
 'field_priority': u'blocker',
 'field_reporter': u'mjagusiak',
 'field_status': u'new',
 'field_summary': u'another issue',
 'field_type': u'defect',
 'field_version': u'1.0',
 'submit': u'Create ticket'}

User Agent was: Mozilla/5.0 (Windows NT 6.0; rv:26.0) Gecko/20100101 Firefox/26.0

System Information

Python 2.4.3 (#1, May 24 2008, 13:57:05)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
setuptools 0.6c7
SQLite 3.3.6
pysqlite 1.1.7
Genshi 0.5.1
mod_python 3.2.8
Pygments 1.0
Subversion 1.4.2 (r22196)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-", line 432, in _dispatch_request
  File "/usr/lib/python2.4/site-packages/Trac-", line 204, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/Trac-", line 182, in process_request
    return self._process_newticket_request(req)
  File "/usr/lib/python2.4/site-packages/Trac-", line 393, in _process_newticket_request
    self._do_create(req, ticket) # (redirected if successful)
  File "/usr/lib/python2.4/site-packages/Trac-", line 972, in _do_create
  File "/usr/lib/python2.4/site-packages/Trac-", line 211, in insert
  File "build/bdist.linux-x86_64/egg/tracjsgantt/tracpm.py", line 2950, in ticket_created
  File "build/bdist.linux-x86_64/egg/tracjsgantt/tracpm.py", line 2760, in rescheduleTickets
  File "build/bdist.linux-x86_64/egg/tracjsgantt/tracpm.py", line 2556, in queryTickets
  File "build/bdist.linux-x86_64/egg/tracjsgantt/tracpm.py", line 1197, in query
  File "/usr/lib/python2.4/site-packages/Trac-", line 299, in execute
    result['href'] = req.href.ticket(val)
AttributeError: 'NoneType' object has no attribute 'href'

Attachments (0)

Change History (2)

comment:1 by Jun Omae, 10 years ago

Priority: highestnormal
Resolution: cantfix
Severity: blockernormal
Status: newclosed

comment:2 by Ryan J Ollos, 10 years ago

Reported in th:#11183.

Modify Ticket

Change Properties
Set your email in Preferences
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.