Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9927 closed defect (cantfix)

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

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

Description

How to Reproduce

While doing a POST operation on /admin/accounts/users, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'01444c2bea0b4e9b799e14f6',
 'cat_id': u'accounts',
 'panel_id': u'users',
 'path_info': None,
 'remove': u'Remove selected accounts'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10

System Information

Trac 0.11.7
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c9
SQLite 3.3.4
pysqlite 2.3.2
Genshi 0.5.1
Agilo 1.3.2-pro
Subversion 1.5.6 (r36142)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "C:\Archivos de programa\Agilo\lib\site-packages\trac-0.11.7-py2.5-win32.egg\trac\web\main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Archivos de programa\Agilo\lib\site-packages\trac-0.11.7-py2.5-win32.egg\trac\web\main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Archivos de programa\Agilo\lib\site-packages\trac-0.11.7-py2.5-win32.egg\trac\admin\web_ui.py", line 114, in process_request
    path_info)
  File "C:\Archivos de programa\Agilo\lib\site-packages\tracaccountmanager-0.2.1dev_r5836-py2.5.egg\acct_mgr\admin.py", line 117, in render_admin_panel
    return self._do_users(req)
  File "C:\Archivos de programa\Agilo\lib\site-packages\tracaccountmanager-0.2.1dev_r5836-py2.5.egg\acct_mgr\admin.py", line 197, in _do_users
    self.account_manager.delete_user(account)
  File "C:\Archivos de programa\Agilo\lib\site-packages\tracaccountmanager-0.2.1dev_r5836-py2.5.egg\acct_mgr\api.py", line 159, in delete_user
    store = self.find_user_store(user)
  File "C:\Archivos de programa\Agilo\lib\site-packages\tracaccountmanager-0.2.1dev_r5836-py2.5.egg\acct_mgr\api.py", line 228, in find_user_store
    user = ignore_auth_case and user.lower() or user
AttributeError: 'NoneType' object has no attribute 'lower'

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Resolution: cantfix
Status: newclosed

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.