1250: NoReverseMatch on users with @ in name

atro****@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
Sept. 12, 2009
What version are you running?
RB 1.0
Django 1.1

What's the URL of the page containing the problem?
http://inspect.ingres.com/r/12/

What steps will reproduce the problem?
1. Try to view a review request with a user that has @ in the name
2. Try to view a rewview request by a user that has @ in the name
3.

What is the expected output? What do you see instead?
The review request, instead a backtrace, exception NoReverseMatch raised

What operating system are you using? What browser?
Server: Linux Red Hat 32 bit, Browser: FireFox 3.5

Please provide any additional information below.
Here's a back trace:

TemplateSyntaxError at /r/4/

Caught an exception while rendering: Reverse for 'user' with arguments
'(<User: xyz@xyx.com>,)' and keyword arguments '{}' not found.

Original Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/Django-1.1-py2.4.egg/django/template/debug.py",
line 71, in render_node
    result = node.render(context)
  File
"/usr/lib/python2.4/site-packages/Django-1.1-py2.4.egg/django/template/defaulttags.py",
line 382, in render
    raise e
NoReverseMatch: Reverse for 'user' with arguments '(<User: xyz@xyz.com>,)'
and keyword arguments '{}' not found.

Request Method: 	GET
Request URL: 	http://example.com/r/4/
Exception Type: 	TemplateSyntaxError
Exception Value: 	

Caught an exception while rendering: Reverse for 'user' with arguments
'(<User: xyz@xyz.com>,)' and keyword arguments '{}' not found.

Original Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/Django-1.1-py2.4.egg/django/template/debug.py",
line 71, in render_node
    result = node.render(context)
  File
"/usr/lib/python2.4/site-packages/Django-1.1-py2.4.egg/django/template/defaulttags.py",
line 382, in render
    raise e
NoReverseMatch: Reverse for 'user' with arguments '(<User: xyz@xyz.com>,)'
and keyword arguments '{}' not found.

Exception Location: 
/usr/lib/python2.4/site-packages/Django-1.1-py2.4.egg/django/template/debug.py
in render_node, line 81
Python Executable: 	/usr/bin/python
Python Version: 	2.4.3
chipx86
#1 chipx86
  • +Confirmed
  • -Priority-Medium
    +Priority-High
    +Milestone-Release1.0.x
chipx86
#2 chipx86
Fixed on release-1.0.x in r9323b2a.
  • -Confirmed
    +Fixed
  • +chipx86