Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 3 years ago

#8177 closed defect (invalid)

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

Reported by: punbear@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11
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'25f0eb17caaf50bda8e301d5',
 '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/525.19 (KHTML, like Gecko) Chrome/1.0.154.53 Safari/525.19

System Information

Trac 0.11
Python 2.5.2 (r252:60911, Oct 5 2008, 19:49:54)
[GCC 4.3.2]
setuptools 0.6c9
SQLite 3.5.9
pysqlite 2.4.1
Genshi 0.5
mod_python 3.3.1
Pygments 0.10
Subversion 1.5.1 (r32289)
jQuery: 1.2.3

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 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/trac/admin/web_ui.py", line 109, in process_request
    path_info)
  File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 117, in render_admin_panel
    return self._do_users(req)
  File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 197, in _do_users
    self.account_manager.delete_user(account)
  File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 159, in delete_user
    store = self.find_user_store(user)
  File "build/bdist.linux-i686/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, 15 years ago

Resolution: invalid
Status: newclosed

This is an issue in the AccountManagerPlugin. Please report the issue to the plugin maintainer.

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.