Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 1560 invoked from network); 29 Aug 2005 05:09:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2005 05:09:08 -0000 Received: (qmail 53802 invoked by uid 500); 29 Aug 2005 05:09:08 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 53615 invoked by uid 500); 29 Aug 2005 05:09:07 -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 53602 invoked by uid 99); 29 Aug 2005 05:09:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Aug 2005 22:09:05 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B22C712D for ; Mon, 29 Aug 2005 07:09:04 +0200 (CEST) Message-ID: <784549488.1125292144706.JavaMail.jira@ajax.apache.org> Date: Mon, 29 Aug 2005 07:09:04 +0200 (CEST) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIREVE-232) Modify operation (removal) provides wrong return codes in two situations. In-Reply-To: <1738876071.1125068606463.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIREVE-232?page=all ] Alex Karasulu resolved DIREVE-232: ---------------------------------- Resolution: Fixed Committed test case and fixes in revision 264063 here: http://svn.apache.org/viewcvs.cgi?view=rev&rev=264063 > Modify operation (removal) provides wrong return codes in two situations. > ------------------------------------------------------------------------- > > Key: DIREVE-232 > URL: http://issues.apache.org/jira/browse/DIREVE-232 > Project: Directory Server > Type: Bug > Versions: 0.9.2 > Reporter: Stefan Zoerner > Assignee: Alex Karasulu > Priority: Minor > Fix For: 0.9.2 > Attachments: ModifyRemoveTest.java > > The modify operation provides wrong return codes in two cases: > 1. Removal of an attribute which does not occur in the entry (expected result is error code 16: noSuchAttribute) > 2. Removal of an invalid attribute, i.e. not existing within the schema (expected result is error code 17: undefinedAttributeType) > This is quite similar to DIREVE-226. > I attach a subclass of AbstractServerTest which contains several test methods for basic removal ops. Due to the recent changes regarding schema checks, most of them succeed. Two tests check for the return codes above (and fail). It includes also a test which deletes a required attribute (not part of RDN), which fails -- but this is expected due to the current development progress. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira