From dev-return-39937-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Mon Jan 9 12:17:33 2012 Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69DC994F8 for ; Mon, 9 Jan 2012 12:17:33 +0000 (UTC) Received: (qmail 63235 invoked by uid 500); 9 Jan 2012 12:17:30 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 62998 invoked by uid 500); 9 Jan 2012 12:17:08 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 62943 invoked by uid 99); 9 Jan 2012 12:17:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2012 12:17:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2012 12:17:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EACAE13F8A5 for ; Mon, 9 Jan 2012 12:16:39 +0000 (UTC) Date: Mon, 9 Jan 2012 12:16:39 +0000 (UTC) From: "Pierre-Arnaud Marcelot (Updated) (JIRA)" To: dev@directory.apache.org Message-ID: <28505701.21239.1326111399963.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <17532907.150751290010753952.JavaMail.jira@thor> Subject: [jira] [Updated] (DIRSTUDIO-710) SearchResultEntryDsml not setting attribute name correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSTUDIO-710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Arnaud Marcelot updated DIRSTUDIO-710: --------------------------------------------- Fix Version/s: 2.0.0-M1 > SearchResultEntryDsml not setting attribute name correctly > ---------------------------------------------------------- > > Key: DIRSTUDIO-710 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-710 > Project: Directory Studio > Issue Type: Bug > Components: studio-dsml-parser > Affects Versions: 1.5.3 > Reporter: Henri van den bulk > Assignee: Pierre-Arnaud Marcelot > Fix For: 2.0.0-M1, 2.0.0 > > > 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: > {code:xml} > > 23337 > > {code} > However, according to the DSML specification when I request *postalCode* it should return Camel backed result. So the valid result should be: > {code:xml} > > 23337 > > {code} > The issue is cause by using the getID operation instead of the getUpId in SearchResultEntryDsml.toDsml. > the following line will need to change from > {code:java} > attributeElement.addAttribute( "name", attribute.getId() ); > {code} > to > {code:java} > attributeElement.addAttribute( "name", attribute.getUpId() ); > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira