directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Ayyagari (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1612) Wrong attribute name comparision in the testReplaceCaseOfAttributeDescription() of ModifyReplaceIT
Date Sat, 19 Mar 2011 15:28:29 GMT
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

Mime
View raw message