You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Zoerner (JIRA)" <ji...@apache.org> on 2007/01/23 20:29:49 UTC

[jira] Created: (DIRSERVER-835) Trying to modify operational attributes does not cause appropriate errors

Trying to modify operational attributes does not cause appropriate errors
-------------------------------------------------------------------------

                 Key: DIRSERVER-835
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-835
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.0.1
         Environment: * ApacheDS 1.0.1 (SNAPSHOT)
* Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
* Windows XP Professional SP2 
            Reporter: Stefan Zoerner


Trying to modify operational attributes of entries (modifiersName, creatorsName) does not cause approriate errors. FInd attached a JUnit test which performs three modify operations (adding/deleting/reoplacing an operational attribute) with the help of JNDI. All of them do not throw an exception.

I have checked the test with three other LDAP servers. OpenLDAP and Sun Java System Directory Server return an LDAP code 19 (LDAP_CONSTRAINT_VIOLATION), IBM Tivoli Directory Server returns 50 (LDAP_INSUFFICIENT_ACCESS).

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


[jira] Updated: (DIRSERVER-835) Trying to modify operational attributes does not cause appropriate errors

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-835:
----------------------------------------

    Fix Version/s: 1.5.0
                   1.0.1

To be fixed in both version

> Trying to modify operational attributes does not cause appropriate errors
> -------------------------------------------------------------------------
>
>                 Key: DIRSERVER-835
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-835
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: * ApacheDS 1.0.1 (SNAPSHOT)
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2 
>            Reporter: Stefan Zoerner
>             Fix For: 1.0.1, 1.5.0
>
>         Attachments: ModifyOperationalAttributeTest.java
>
>
> Trying to modify operational attributes of entries (modifiersName, creatorsName) does not cause approriate errors. FInd attached a JUnit test which performs three modify operations (adding/deleting/reoplacing an operational attribute) with the help of JNDI. All of them do not throw an exception.
> I have checked the test with three other LDAP servers. OpenLDAP and Sun Java System Directory Server return an LDAP code 19 (LDAP_CONSTRAINT_VIOLATION), IBM Tivoli Directory Server returns 50 (LDAP_INSUFFICIENT_ACCESS).

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


[jira] Resolved: (DIRSERVER-835) Trying to modify operational attributes does not cause appropriate errors

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-835.
-----------------------------------------

    Resolution: Fixed

I think that the initial problem has been fixed in both 1.0.1 and 1.5.0 versions.

Tests has been implemented, and they are now passing.

Can it be confirmed, Stefan ?

Thanks a lot for the report and the tests !

> Trying to modify operational attributes does not cause appropriate errors
> -------------------------------------------------------------------------
>
>                 Key: DIRSERVER-835
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-835
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: * ApacheDS 1.0.1 (SNAPSHOT)
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2 
>            Reporter: Stefan Zoerner
>         Assigned To: Emmanuel Lecharny
>             Fix For: 1.0.1, 1.5.0
>
>         Attachments: ModifyOperationalAttributeTest.java
>
>
> Trying to modify operational attributes of entries (modifiersName, creatorsName) does not cause approriate errors. FInd attached a JUnit test which performs three modify operations (adding/deleting/reoplacing an operational attribute) with the help of JNDI. All of them do not throw an exception.
> I have checked the test with three other LDAP servers. OpenLDAP and Sun Java System Directory Server return an LDAP code 19 (LDAP_CONSTRAINT_VIOLATION), IBM Tivoli Directory Server returns 50 (LDAP_INSUFFICIENT_ACCESS).

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


[jira] Closed: (DIRSERVER-835) Trying to modify operational attributes does not cause appropriate errors

Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Zoerner closed DIRSERVER-835.
------------------------------------


I can confirm that the error is no longer present. Thanks Emmanuel!

> Trying to modify operational attributes does not cause appropriate errors
> -------------------------------------------------------------------------
>
>                 Key: DIRSERVER-835
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-835
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: * ApacheDS 1.0.1 (SNAPSHOT)
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2 
>            Reporter: Stefan Zoerner
>         Assigned To: Emmanuel Lecharny
>             Fix For: 1.0.1, 1.5.0
>
>         Attachments: ModifyOperationalAttributeTest.java
>
>
> Trying to modify operational attributes of entries (modifiersName, creatorsName) does not cause approriate errors. FInd attached a JUnit test which performs three modify operations (adding/deleting/reoplacing an operational attribute) with the help of JNDI. All of them do not throw an exception.
> I have checked the test with three other LDAP servers. OpenLDAP and Sun Java System Directory Server return an LDAP code 19 (LDAP_CONSTRAINT_VIOLATION), IBM Tivoli Directory Server returns 50 (LDAP_INSUFFICIENT_ACCESS).

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


[jira] Commented: (DIRSERVER-835) Trying to modify operational attributes does not cause appropriate errors

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468837 ] 

Emmanuel Lecharny commented on DIRSERVER-835:
---------------------------------------------

Test and fix added in 1.5.0 :
http://svn.apache.org/viewvc?view=rev&rev=501498
http://svn.apache.org/viewvc?view=rev&rev=501499
http://svn.apache.org/viewvc?view=rev&rev=501505

> Trying to modify operational attributes does not cause appropriate errors
> -------------------------------------------------------------------------
>
>                 Key: DIRSERVER-835
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-835
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: * ApacheDS 1.0.1 (SNAPSHOT)
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2 
>            Reporter: Stefan Zoerner
>         Assigned To: Emmanuel Lecharny
>             Fix For: 1.0.1, 1.5.0
>
>         Attachments: ModifyOperationalAttributeTest.java
>
>
> Trying to modify operational attributes of entries (modifiersName, creatorsName) does not cause approriate errors. FInd attached a JUnit test which performs three modify operations (adding/deleting/reoplacing an operational attribute) with the help of JNDI. All of them do not throw an exception.
> I have checked the test with three other LDAP servers. OpenLDAP and Sun Java System Directory Server return an LDAP code 19 (LDAP_CONSTRAINT_VIOLATION), IBM Tivoli Directory Server returns 50 (LDAP_INSUFFICIENT_ACCESS).

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


[jira] Commented: (DIRSERVER-835) Trying to modify operational attributes does not cause appropriate errors

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468666 ] 

Emmanuel Lecharny commented on DIRSERVER-835:
---------------------------------------------

Tests added in 1.0.1 :
http://svn.apache.org/viewvc?view=rev&rev=500076

> Trying to modify operational attributes does not cause appropriate errors
> -------------------------------------------------------------------------
>
>                 Key: DIRSERVER-835
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-835
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: * ApacheDS 1.0.1 (SNAPSHOT)
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2 
>            Reporter: Stefan Zoerner
>         Assigned To: Emmanuel Lecharny
>             Fix For: 1.0.1, 1.5.0
>
>         Attachments: ModifyOperationalAttributeTest.java
>
>
> Trying to modify operational attributes of entries (modifiersName, creatorsName) does not cause approriate errors. FInd attached a JUnit test which performs three modify operations (adding/deleting/reoplacing an operational attribute) with the help of JNDI. All of them do not throw an exception.
> I have checked the test with three other LDAP servers. OpenLDAP and Sun Java System Directory Server return an LDAP code 19 (LDAP_CONSTRAINT_VIOLATION), IBM Tivoli Directory Server returns 50 (LDAP_INSUFFICIENT_ACCESS).

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


[jira] Updated: (DIRSERVER-835) Trying to modify operational attributes does not cause appropriate errors

Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Zoerner updated DIRSERVER-835:
-------------------------------------

    Attachment: ModifyOperationalAttributeTest.java

Here is the JUnit test mentioned in the description of the issue. 

> Trying to modify operational attributes does not cause appropriate errors
> -------------------------------------------------------------------------
>
>                 Key: DIRSERVER-835
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-835
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: * ApacheDS 1.0.1 (SNAPSHOT)
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2 
>            Reporter: Stefan Zoerner
>         Attachments: ModifyOperationalAttributeTest.java
>
>
> Trying to modify operational attributes of entries (modifiersName, creatorsName) does not cause approriate errors. FInd attached a JUnit test which performs three modify operations (adding/deleting/reoplacing an operational attribute) with the help of JNDI. All of them do not throw an exception.
> I have checked the test with three other LDAP servers. OpenLDAP and Sun Java System Directory Server return an LDAP code 19 (LDAP_CONSTRAINT_VIOLATION), IBM Tivoli Directory Server returns 50 (LDAP_INSUFFICIENT_ACCESS).

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


[jira] Commented: (DIRSERVER-835) Trying to modify operational attributes does not cause appropriate errors

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467719 ] 

Emmanuel Lecharny commented on DIRSERVER-835:
---------------------------------------------

Fixed in 1.0.1, with a test on NO_USER_MODIFICATION of each attribute. To be further ...

svn : http://svn.apache.org/viewvc?view=rev&rev=500080


> Trying to modify operational attributes does not cause appropriate errors
> -------------------------------------------------------------------------
>
>                 Key: DIRSERVER-835
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-835
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: * ApacheDS 1.0.1 (SNAPSHOT)
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2 
>            Reporter: Stefan Zoerner
>         Assigned To: Emmanuel Lecharny
>             Fix For: 1.0.1, 1.5.0
>
>         Attachments: ModifyOperationalAttributeTest.java
>
>
> Trying to modify operational attributes of entries (modifiersName, creatorsName) does not cause approriate errors. FInd attached a JUnit test which performs three modify operations (adding/deleting/reoplacing an operational attribute) with the help of JNDI. All of them do not throw an exception.
> I have checked the test with three other LDAP servers. OpenLDAP and Sun Java System Directory Server return an LDAP code 19 (LDAP_CONSTRAINT_VIOLATION), IBM Tivoli Directory Server returns 50 (LDAP_INSUFFICIENT_ACCESS).

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


[jira] Assigned: (DIRSERVER-835) Trying to modify operational attributes does not cause appropriate errors

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny reassigned DIRSERVER-835:
-------------------------------------------

    Assignee: Emmanuel Lecharny

> Trying to modify operational attributes does not cause appropriate errors
> -------------------------------------------------------------------------
>
>                 Key: DIRSERVER-835
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-835
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: * ApacheDS 1.0.1 (SNAPSHOT)
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2 
>            Reporter: Stefan Zoerner
>         Assigned To: Emmanuel Lecharny
>             Fix For: 1.0.1, 1.5.0
>
>         Attachments: ModifyOperationalAttributeTest.java
>
>
> Trying to modify operational attributes of entries (modifiersName, creatorsName) does not cause approriate errors. FInd attached a JUnit test which performs three modify operations (adding/deleting/reoplacing an operational attribute) with the help of JNDI. All of them do not throw an exception.
> I have checked the test with three other LDAP servers. OpenLDAP and Sun Java System Directory Server return an LDAP code 19 (LDAP_CONSTRAINT_VIOLATION), IBM Tivoli Directory Server returns 50 (LDAP_INSUFFICIENT_ACCESS).

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