Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.