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 07:23:55 UTC
[jira] Created: (HARMONY-5842) [classlib][jndi][ldap] -
LdapSchemaContextImpl.rename() and modifyAttributes() doesn't deal with
name correctly
[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
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.
[jira] Resolved: (HARMONY-5842) [classlib][jndi][ldap] -
LdapSchemaContextImpl.rename() and modifyAttributes() doesn't deal with
name correctly
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison resolved HARMONY-5842.
----------------------------------
Resolution: Fixed
Thanks Regis,
Patch applied to JNDI module at repo revision r660155.
Please check it was applied as you expected.
> [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.
[jira] Closed: (HARMONY-5842) [classlib][jndi][ldap] -
LdapSchemaContextImpl.rename() and modifyAttributes() doesn't deal with
name correctly
Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (HARMONY-5842) [classlib][jndi][ldap] -
LdapSchemaContextImpl.rename() and modifyAttributes() doesn't deal with
name correctly
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison reassigned HARMONY-5842:
------------------------------------
Assignee: Tim Ellison
> [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.
[jira] Updated: (HARMONY-5842) [classlib][jndi][ldap] -
LdapSchemaContextImpl.rename() and modifyAttributes() doesn't deal with
name correctly
Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Regis Xu updated HARMONY-5842:
------------------------------
Attachment: HARMONY-5842.diff
Would anyone want to try this?
> [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
> 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.