Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 87430 invoked from network); 3 Feb 2008 21:05:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2008 21:05:29 -0000 Received: (qmail 2234 invoked by uid 500); 3 Feb 2008 21:05:21 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 2188 invoked by uid 500); 3 Feb 2008 21:05:21 -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 2177 invoked by uid 99); 3 Feb 2008 21:05:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2008 13:05:21 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of akarasulu@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2008 21:04:53 +0000 Received: by wa-out-1112.google.com with SMTP id m38so2227673waf.5 for ; Sun, 03 Feb 2008 13:05:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=djqQwz2AMVl9Mu8pNfHAfMTCtCpOpdGvEwKe9TP5u6s=; b=FB8PFDqJL+bwqO9miSeh+htwQpdgHTaQ99TER1BJmxHYpCJ2s9fhJ9Fk0N6+tSSNE95Z3H7NjmnunzHwE+WXmQa7QlzmRFsSMtPFUNzsulnkU4BSXphDNmWTi+d7u4pId+c59EGNDh9zUtjqt80BfQLYdVWFhj2xwoiOSbGvZjY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=Um+vStBCdbAbaD05VVyvK7K4i8kbLdqLRBdrdYEf34/xkJFQvKtzAQb224xKh2cHUabQT2jWL79OquT7IrudppnFhSGyoCYmwm67RfDOjHoocPvDFQOKGutgTabhZ57Mfq0eqN10hDfL6AVn2ez6BaJoCnYyYxKlyMCEYA9azyA= Received: by 10.114.95.1 with SMTP id s1mr448569wab.99.1202072700321; Sun, 03 Feb 2008 13:05:00 -0800 (PST) Received: by 10.115.77.4 with HTTP; Sun, 3 Feb 2008 13:05:00 -0800 (PST) Message-ID: Date: Sun, 3 Feb 2008 16:05:00 -0500 From: "Alex Karasulu" Sender: akarasulu@gmail.com To: "Apache Directory Developers List" Subject: Re: [Shared LDAP][Studio] toString() method of ACI items returns invalid string In-Reply-To: <47A5F7CE.3050203@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3784_19191469.1202072700315" References: <47A5F7CE.3050203@apache.org> X-Google-Sender-Auth: 92033392e861dc27 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3784_19191469.1202072700315 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Go right ahead Stefan. You don't need to ask for these things unless you're unsure. Thanks, Alex On Feb 3, 2008 12:20 PM, Stefan Seelmann wrote: > Hi, > > In Studio we use the ACI parser and items in the ACI item editor. We use > it the following way: > > - When reading e.g. the prescriptiveACI attribute from the server we use > the ACIItemParser.parse(String) method > - Depending on the object tree we show the items in the visual editor > - We use the ACIItem.toString() method to show the string representation > of the ACI in the source editor > - We use the ACIItem.toString() method to get the string representation > of the ACI to save it back to the server > > Now, from the shared-ldap version used in Studio 1.0.1 (0.9.7-SNAPSHOT) > to the current trunk/bigbang version the toString() method was changed. > For example the toString() method of the UserClass.Name class creates > --> name: [cn=abc] > but it should be > --> name { "cn=abc" } > > I valunteer for fixing this, because we need a working version for the > upcoming shared-ldap release that is used in Studio 1.1. > > Regards, > Stefan > > ------=_Part_3784_19191469.1202072700315 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Go right ahead Stefan.  You don't need to ask for these things unless you're unsure.

Thanks,
Alex

On Feb 3, 2008 12:20 PM, Stefan Seelmann <seelmann@apache.org> wrote:
Hi,

In Studio we use the ACI parser and items in the ACI item editor. We use
it the following way:

- When reading e.g. the prescriptiveACI attribute from the server we use
the ACIItemParser.parse(String) method
- Depending on the object tree we show the items in the visual editor
- We use the ACIItem.toString() method to show the string representation
of the ACI in the source editor
- We use the ACIItem.toString() method to get the string representation
of the ACI to save it back to the server

Now, from the shared-ldap version used in Studio 1.0.1 (0.9.7-SNAPSHOT)
to the current trunk/bigbang version the toString() method was changed.
For example the toString() method of the UserClass.Name class creates
-->  name: [cn=abc]
but it should be
-->  name { "cn=abc" }

I valunteer for fixing this, because we need a working version for the
upcoming shared-ldap release that is used in Studio 1.1.

Regards,
Stefan


------=_Part_3784_19191469.1202072700315--