Issue 739653
Created on 2003-05-19 02:37 by anonymous, last changed 2003-06-24 03:58 by richard.
File name |
Uploaded |
Description |
Edit |
Remove |
error.
|
anonymous,
2003-05-19 02:37
|
error traceback from test above. |
|
|
msg833 |
Author: [hidden] (anonymous) |
Date: 2003-05-19 02:37 |
|
Add a new user. Put in the name and login name, and enter an email address
that has a space in it like "user 5 user@site.com". You will get the attached traceback whose first few lines are below.
Templating Error
exceptions.KeyError: list
Debugging information follows
Looking for "list", current path:
In path expression "list"
While evaluating the standard:'context/list' expression on line 22 Current variables:
templates <roundup.cgi.templating.Templates instance at 0xaa56df0>
repeat <roundup.cgi.PageTemplates.TALES.SafeMapping instance at 0xaa3e5b8>
default <roundup.cgi.PageTemplates.TALES.Default instance at 0xa12da10>
db <roundup.cgi.templating.HTMLDatabase instance at 0xac68b50>
utils <roundup.cgi.templating.utils instance at 0xa8da850>
request <roundup.cgi.templating.HTMLRequest instance at 0xaa1a1d0>
tracker <module '_roundup_tracker_3' from '/var/roundup/classic/__init__.pyo'>
context <HTMLItem(0xaba7328) user 3>
nothing None
config <module '_roundup_tracker_3.config' from '/var/roundup/classic/config.pyo'>
options {'ok_message': ['user 3 created'], 'error_message': []}
loop <roundup.cgi.PageTemplates.TALES.SafeMapping instance at 0xaa3e5b8>
attrs {'tal:repeat': 'user context/list', 'tal:attributes': "class python:['normal', 'alt'][repeat['user'].index%6/3]"}
--rouilj
|
msg834 |
Author: [hidden] (richard) |
Date: 2003-05-22 02:31 |
|
Logged In: YES
user_id=6405
Hurm... spaces in usernames are invalid, so I need to do two things here:
1. handle the space
2. _detect_ the space and reject the address
|
msg835 |
Author: [hidden] (richard) |
Date: 2003-06-24 03:58 |
|
Logged In: YES
user_id=6405
The address doesn't break the tracker any more, but I don't
detect the bad address. Maybe some other time.
|
|
Date |
User |
Action |
Args |
2003-05-19 02:37:46 | anonymous | create | |
|