You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kiran Ayyagari (JIRA)" <ji...@apache.org> on 2011/03/19 16:50:29 UTC

[jira] Closed: (DIRSERVER-1612) Wrong attribute name comparision in the testReplaceCaseOfAttributeDescription() of ModifyReplaceIT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kiran Ayyagari closed DIRSERVER-1612.
-------------------------------------


> 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
>             Fix For: 2.0-M1
>
>
> 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