directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Ayyagari (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DIRSERVER-1610) No error is reported when adding an entry with a non-existing attribute
Date Sun, 22 May 2011 10:55:47 GMT

     [ 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

Mime
View raw message