Adding participants fails if there is a blank line between 2 users
GENERAL
TESTING
GENERAL
TESTING
Description
To reproduce the issue: 1) Go to Add Participants 2) Add in a list of either internal usernames or external users with a blank line between a couple of the items 3) Sakai will not accept it, but will not give an error message either
Ideally this should be resolved by ignoring any blank lines.
Activity
Harriet Truscott July 19, 2007 at 6:14 AM
Cannot reproduce on 2.4. Believed to have been silently fixed on 2.3
Aaron Zeckoski July 18, 2007 at 4:12 PM
I am actually unable to reproduce this if I type in the list of users. Upon further investigation it appears that this is actually being caused by unprintable characters which are getting stuck in there when people are doing a copy and paste and are not getting stripped out (hence they are recognized as if they were a username).
I think what we probably need to do it use a regular expression to remove anything from the inputs which is not a valid character. I would think this would be the full set of valid chars for usernames: a-zA-Z0-9@.-_
Does this seem reasonable?
Let me see if I can get some test data which causes the failures.
Zhen Qian July 18, 2007 at 3:22 PM
Aaron,
I couldn't reproduce the problem in Site Info.
Could you please share more details here? Like a copy of the user list...
To reproduce the issue:
1) Go to Add Participants
2) Add in a list of either internal usernames or external users with a blank line between a couple of the items
3) Sakai will not accept it, but will not give an error message either
Ideally this should be resolved by ignoring any blank lines.