Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to Fetch contributor by UserID immaterial of case sensitivity

Earlier we used RTC 4.0.5 and used to fetch contributor without any problems (immaterial of case sensitivity)
Code Snippet:
public IContributor getContributor(String userId, ITeamRepository repositoryHandle) {
        try {
            
            IContributor contributor = repositoryHandle.contributorManager().
                            fetchContributorByUserId(userId, null);
            return contributor;
        } catch(Exception ex) {
            log.error("Exception occurred while getting Contributor ["
                    + userId + "] " + ex);
        }
        return null;
    }

We are planning to migrate to RTC 5.0.1 and during testing we find that contributor retrieval is case sensitive.
API is able to fetch contributor only if userId is provided as seen in Active Directory.
Eg:
My user ID as seen in Active Directory =  SSS1KOR
Result seen on execution of  above function
Input (userId)            Outup (Contributor)
SSS1KOR             Fetches Contributor @......
sss1kor                          null

Note:
Login with web Client is successful immaterial of case sensitivity.

0 votes



One answer

Permanent link
I would suggest to open a defect on jazz.net.  select the "My Stuff" link, then the workitems tab and then create a defect. 

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,505
× 6,130

Question asked: Jan 20 '15, 12:32 p.m.

Question was seen: 4,295 times

Last updated: Jan 22 '15, 12:48 p.m.

Confirmation Cancel Confirm