Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363838

Summary: create new user via ldap resolution shall be case insensitive
Product: z_Archived Reporter: Alvaro Sanchez-Leon <alvaro.sanchez-leon>
Component: MylynAssignee: Sebastien Dubois <sebastien.dubois>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: lmcbout
Version: unspecified   
Target Milestone: 0.9   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Alvaro Sanchez-Leon CLA 2011-11-15 10:39:49 EST
When creating a new review participant, entering the userid and pressing enter resolves is automatically via LDAP (if configured).
  However the userid is found as long as the case sensitivity entered matches the entry in the LDAP data base.
  However if the Find button is used the actual Find Dialogue accepts a userid and the search is not case sensitive.
  
  The behaviour should be consistent so entering the id in the new participant dialog should not be case sensitive.
Comment 1 Sebastien Dubois CLA 2011-11-15 13:05:45 EST
Fix is implemented.  We anre now case-insensitive for Participants (in dialog) and User (in preferences)
Comment 2 Jacques Bouthillier CLA 2011-11-17 09:05:41 EST
After testing on LINUX, I am able to add a participant with UPPER case letter. Also, if I enter a participant and press enter, the e-mail does not get adjusted if LDAP is available and I can have a mixed of upper and lower case character.

I also tested on WINDOW VISTA environment. Here, it seems the event for the "ENTER" button is performed after the "LOSE focus" event is done, so the data for the participant is updated in lower case as well as the e-mail information.

When I press "ENTER" in the participant field ID, the dialogue should not close and the field should be validated only.
Comment 3 Sebastien Dubois CLA 2011-11-17 11:54:13 EST
Fixed Jacques issues and updated code as per Alvaro's comments
Comment 4 Alvaro Sanchez-Leon CLA 2011-11-17 23:36:30 EST
* The R4E preference page - User tab, changed the UserID label to "Name:" (Linux)
* Unable to resolve user ids populated in capital letters in LDAP from the enter participant details dialog, 
   however it's possible to do it from the preferences pages and the find user dialog.
* using a work space populated with R4E preferences user id in capitals does not get updated to lower case when installing the new version
     even if the review navigator is closed and re-opened it takes no effect. Capital letters remain.
Comment 5 Sebastien Dubois CLA 2011-11-18 13:52:17 EST
Ok sorry about that.  Everything should be OK now.