08-29-05 07:45 AM
[ http://issues.apache.org/jira/brows...VE-232?page=all ]
Alex Karasulu updated DIREVE-232:
---------------------------------
Fix Version: 0.9.2
Let's fix this now before the release.
> 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 res
ult is error code 16: noSuchAttribute)
> 2. Removal of an invalid attribute, i.e. not existing within the schema (e
xpected 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 s
ucceed. Two tests check for the return codes above (and fail). It includes also a t
est
which deletes a required attribute (not part of RDN), which fails -- but thi
s 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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|