directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1610) No error is reported when adding an entry with a non-existing attribute
Date Fri, 25 Feb 2011 17:03:29 GMT
No error is reported when adding an entry with a non-existing attribute
-----------------------------------------------------------------------

                 Key: DIRSERVER-1610
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1610
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.7
            Reporter: Pierre-Arnaud Marcelot
            Priority: Blocker
             Fix For: 2.0-M1


It is possible to add a new entry with a non-existing attribute successfully ('success' result
code).
This error only occurs when adding an entry with the network layer, not with direct CoreSession.

For the record, here's what we debugged with Emmanuel.
The entry is correctly decoded and received by the AddHandler.
Then that entry is cloned in the AddOperationContext and it's during the creation of that
clone (DefaultEntry.clone() method) that the non-existing AT is excluded of the cloned entry
without notifying an error and swallowing the exception.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message