Wrong attribute name comparision in the testReplaceCaseOfAttributeDescription() 
 of ModifyReplaceIT
---------------------------------------------------------------------------------------------------

                 Key: DIRSERVER-1612
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1612
             Project: Directory ApacheDS
          Issue Type: Bug
            Reporter: Kiran Ayyagari
            Assignee: Kiran Ayyagari


The testReplaceCaseOfAttributeDescription() method is expecting the attribute's 
ID/name to be normalized but the user provided name should be preserved as it 
is.

For the record:

This issue was exposed while trying to fix the 
ServerEntryUtils.toServerModification() method to use EntryAttribute's 
getUpId() instead of getId() method.

The EntryAttribute.getId() method was recently updated to return the OID of the 
attribute so when a modify operation goes through Coresession's 
modify( ModifyRequest modifyRequest ) or modify( ModifyRequest modifyRequest, 
LogChange log ) the ServerEntryUtils.toServerModification() method gets called
which is replacing 'upId' with 'Id' hence the entry will display OID of 
attribute instead of it's name.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to