Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#8430 closed defect (invalid)

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

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

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'id': u'3'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11

System Information

Trac 0.11.3
Python 2.5.2 (r252:60911, Jun 7 2008, 00:38:48)
[GCC 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]]
setuptools 0.6c9
SQLite 3.5.7
pysqlite 2.3.2
Genshi 0.5.1
mod_python 3.3.1
Agilo 0.7.3.3-r1417-20090313
Subversion 1.5.0 (dev build)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/trac/web/main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib64/python2.5/site-packages/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib64/python2.5/site-packages/trac/ticket/web_ui.py", line 182, in process_request
    return self._process_ticket_request(req)
  File "/usr/lib64/python2.5/site-packages/trac/ticket/web_ui.py", line 531, in _process_ticket_request
    get_reporter_id(req, 'author'), field_changes)
  File "/usr/lib64/python2.5/site-packages/trac/ticket/web_ui.py", line 1176, in _insert_ticket_data
    fields = self._prepare_fields(req, ticket)
  File "/usr/lib64/python2.5/site-packages/trac/ticket/web_ui.py", line 1089, in _prepare_fields
    TicketSystem(self.env).eventually_restrict_owner(field, ticket)
  File "/usr/lib64/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-py2.5.egg/agilo/ticket/api.py", line 140, in eventually_restrict_owner
    super(AgiloTicketSystem, self).eventually_restrict_owner(field, ticket=ticket)
  File "/usr/lib64/python2.5/site-packages/trac/ticket/api.py", line 336, in eventually_restrict_owner
    ticket.resource):
  File "/usr/lib64/python2.5/site-packages/trac/perm.py", line 524, in has_permission
    return self._has_permission(action, resource)
  File "/usr/lib64/python2.5/site-packages/trac/perm.py", line 538, in _has_permission
    check_permission(action, perm.username, resource, perm)
  File "/usr/lib64/python2.5/site-packages/trac/perm.py", line 425, in check_permission
    perm)
  File "/usr/lib64/python2.5/site-packages/TracPrivateTickets-2.0.2-py2.5.egg/privatetickets/policy.py", line 44, in check_permission
    return self.check_ticket_access(perm, resource)
  File "/usr/lib64/python2.5/site-packages/TracPrivateTickets-2.0.2-py2.5.egg/privatetickets/policy.py", line 71, in check_ticket_access
    if perm.username in [x.strip() for x in tkt['cc'].split(',')]:
AttributeError: 'NoneType' object has no attribute 'split'

Attachments (0)

Change History (2)

comment:1 by ebray, 15 years ago

Resolution: invalid
Status: newclosed

This would be a PluginIssue. Please report it to the plugin's creator.

comment:2 by ryano@…, 13 years ago

Here is the relevant ticket for the th:PrivateTicketsPlugin: th:#4154.

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.