Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.3
-
None
Description
When the DSML repsone creation is converting the LDAP request to a DSML response the attribute names are not set correctly. Attribute name should be Camel case for the name field. Below is an example of what is being returned:
<dsml:attr name="postalcode"> <dsml:value>23337</dsml:value> </dsml:attr>
However, according to the DSML specification when I request postalCode it should return Camel backed result. So the valid result should be:
<dsml:attr name="postalCode"> <dsml:value>23337</dsml:value> </dsml:attr>
The issue is cause by using the getID operation instead of the getUpId in SearchResultEntryDsml.toDsml.
the following line will need to change from
attributeElement.addAttribute( "name", attribute.getId() );
to
attributeElement.addAttribute( "name", attribute.getUpId() );
Attachments
Issue Links
- depends upon
-
DIRSHARED-71 SearchResultEntryDsml does not use the provided name of the attribute type
- Closed