You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kiran Ayyagari (JIRA)" <ji...@apache.org> on 2011/05/22 12:55:47 UTC
[jira] [Closed] (DIRSERVER-1610) No error is reported when adding
an entry with a non-existing attribute
[ https://issues.apache.org/jira/browse/DIRSERVER-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Ayyagari closed DIRSERVER-1610.
-------------------------------------
Resolution: Fixed
Assignee: Kiran Ayyagari
The test is executing as expected, seems like the issue was already fixed by earlier commits. Removed the ignore annotation and added an assertion.
http://svn.apache.org/viewvc?rev=1125906&view=rev
> 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
> Assignee: Kiran Ayyagari
> 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