You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Regis Xu (JIRA)" <ji...@apache.org> on 2008/05/26 13:41:56 UTC

[jira] Closed: (HARMONY-5842) [classlib][jndi][ldap] - LdapSchemaContextImpl.rename() and modifyAttributes() doesn't deal with name correctly

     [ https://issues.apache.org/jira/browse/HARMONY-5842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regis Xu closed HARMONY-5842.
-----------------------------


Verified. Thanks Tim!

> [classlib][jndi][ldap] - LdapSchemaContextImpl.rename() and modifyAttributes() doesn't deal with name correctly
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5842
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5842
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Regis Xu
>            Assignee: Tim Ellison
>         Attachments: HARMONY-5842.diff
>
>
> LdapSchemaContextImpl.modifyAttributes() should throw SchemaViolationException when name is empty:
>  try {
>             schema.modifyAttributes("", new ModificationItem[] {});
>             fail("Should throw SchemaViolationException");
>         } catch (SchemaViolationException e) {
>             // expected
>         }
> and LdapSchemaContextImpl.rename()  has the same problems.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.