Special character in name avoid registering a trainee in a session
I occur an issue registering names with apostrophe, such as d'assilva...
I can register the user in user part (as login I remove the '), so only the name is containing the special character.
When I go to session, I select the course, in the list of trainees I do see the name (here d'assilva), but I can't select it for registration.
If I go to the user and modify, by removing the ', I can then register the trainee in the session.
Updated by Yoselyn Castillo over 7 years ago
I have tested this and it worked fine for me...
I have created user with name "D'Mora D'Mora" and login "dmora"
I went to the session(session1)
I have entered the course(curso_2) through the session
I selected the list of teachers
I see the created user with name "D'Mora D'Mora" and login "dmora"
I could select the user for registering.
See the image
Please, show an image or specify the way to reproduce the bug
Updated by Yannick Warnier over 7 years ago
Yoselyn, sometimes the ' is not really a ' but rather the same character a little curled up like ` but the other way around. You can only get it by copy-pasting it from Word, for example. Maybe there is a small variation. Eric, if there's any chance you could explain more about where this ' sign came from, maybe we can figure it out...
Updated by Eric Petitdemange over 7 years ago
Bug confirmed with Latest nightly (22).
Just downloaded, upgraded a 1.9.x with the packages.
I created 2 accounts:
1- First name Prud'homme, last name Denis
2- First name Romain, last name Prud'homme
I create a session with a course registered in it.
I try to register Both prud'homme men, when I click, the link changes it's color, the status bar says Java Void(0);
Note, I don't try multiple (just single registration)!
If you select from the multiple selection, it works....
Sorry I should have mention this.
A 'normal' name doesn't have the issue
here is a copy of one of the account name in case it's help : Prud'homme Denis (p)
Note I'm using UTF-8 encoding...
Stable Chamilo has the same (you'll find an account Prud'homme Denis, login: p, password: p) and a session named session prud'homme (with coursenligne as coach).
Just go to the registration from user list in the session (by default single is selected, so just type prud...)and try to register!!!
Good luck guys :)
Updated by Eric Petitdemange about 7 years ago
- Status changed from Assigned to Bug resolved
Thanks a lot for your help, this is working 100%! (both single and multiple registration).
If so having a quick look can be a good idea :)
Thanks again for the overcome.
Updated by Yoselyn Castillo about 7 years ago
- Status changed from Bug resolved to Assigned
- Assignee changed from Yoselyn Castillo to Yannick Warnier
- % Done changed from 0 to 80
Yannick, please upload add_users_to_session.php file, in order to testing in stable.chamilo.org
Coursenligne, What are "exercises errors" you have meant, are they in some task?. I could check it.