From dev-return-34482-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Tue Jul 13 05:48:18 2010 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 87785 invoked from network); 13 Jul 2010 05:48:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Jul 2010 05:48:18 -0000 Received: (qmail 72468 invoked by uid 500); 13 Jul 2010 05:48:18 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 72266 invoked by uid 500); 13 Jul 2010 05:48:15 -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 72256 invoked by uid 99); 13 Jul 2010 05:48:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 05:48:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 05:48:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6D5lnBu015937 for ; Tue, 13 Jul 2010 05:47:50 GMT Message-ID: <26193377.341531279000069715.JavaMail.jira@thor> Date: Tue, 13 Jul 2010 01:47:49 -0400 (EDT) From: "Kasun Lakpriya (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSTUDIO-677) LdapEntryAnalyzer.computePackageName() issues In-Reply-To: <24598688.325151278941332360.JavaMail.jira@thor> 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-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887662#action_12887662 ] Kasun Lakpriya commented on DIRSTUDIO-677: ------------------------------------------ Check the package name for valid characters and ensure it is in lower case. Issues are resolved : http://code.google.com/p/dirstudio-ldap-tooling/source/detail?r=62 > LdapEntryAnalyzer.computePackageName() issues > --------------------------------------------- > > Key: DIRSTUDIO-677 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-677 > Project: Directory Studio > Issue Type: Bug > Components: studio-persistence-tooling > Reporter: Stefan Seelmann > > - The method expects the parent DN. This is not intuitive, it would be better to pass the original DN and to compute the parent within the method. > - When passing an empty DN (this happens if the entry's DN only has one name component) a StringIndexOutOfBounds exception is thrown. > - There is no check if the package name is valid. For example if an RDN is "ou=External Users" the computed package name is "com.example.External Users". > - Javadoc is missing -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.