08-26-05 10:45 PM
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
Assigned to: Alex Karasulu
Priority: Minor
The modify operation provides wrong return codes in two cases:
1. Removal of an attribute which does not occur in the entry (expected resul
t is error code 16: noSuchAttribute)
2. Removal of an invalid attribute, i.e. not existing within the schema (exp
ected result is error code 17: undefinedAttributeType)
This is quite similar to DIREVE-226.
I attach a subclass of AbstractServerTest which contains several test method
s 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 w
hich 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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|