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 Seelmann (JIRA)" <ji...@apache.org> on 2007/09/02 16:09:19 UTC

[jira] Created: (DIRSERVER-1055) Reading cn=schema doesn't return all requested attributes

Reading cn=schema doesn't return all requested attributes
---------------------------------------------------------

                 Key: DIRSERVER-1055
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1055
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.1
            Reporter: Stefan Seelmann


When performing the following search the attributes createTimestamp and modifyTimestamp are not in the search result, although requested:

$ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp  | grep "modifyTimestamp:"


However when performing this search the modifyTimestamp is returned. Note the additonal "+" in the list of returning attributes:

$ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp "+" | grep "modifyTimestamp:"
modifyTimestamp: 20070901074516Z


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


[jira] Resolved: (DIRSERVER-1055) Reading cn=schema doesn't return all requested attributes

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

Emmanuel Lecharny resolved DIRSERVER-1055.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.2

Ok,fixed :
http://svn.apache.org/viewvc?rev=572196&view=rev

> Reading cn=schema doesn't return all requested attributes
> ---------------------------------------------------------
>
>                 Key: DIRSERVER-1055
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1055
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.2
>
>         Attachments: SchemaSearchTest.java
>
>
> When performing the following search the attributes createTimestamp and modifyTimestamp are not in the search result, although requested:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp  | grep "modifyTimestamp:"
> However when performing this search the modifyTimestamp is returned. Note the additonal "+" in the list of returning attributes:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp "+" | grep "modifyTimestamp:"
> modifyTimestamp: 20070901074516Z

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


[jira] Closed: (DIRSERVER-1055) Reading cn=schema doesn't return all requested attributes

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

Stefan Seelmann closed DIRSERVER-1055.
--------------------------------------


Added the attached test and one more here: http://svn.apache.org/viewvc?rev=603755&view=rev

> Reading cn=schema doesn't return all requested attributes
> ---------------------------------------------------------
>
>                 Key: DIRSERVER-1055
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1055
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.2
>
>         Attachments: SchemaSearchTest.java
>
>
> When performing the following search the attributes createTimestamp and modifyTimestamp are not in the search result, although requested:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp  | grep "modifyTimestamp:"
> However when performing this search the modifyTimestamp is returned. Note the additonal "+" in the list of returning attributes:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp "+" | grep "modifyTimestamp:"
> modifyTimestamp: 20070901074516Z

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


[jira] Commented: (DIRSERVER-1055) Reading cn=schema doesn't return all requested attributes

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

Emmanuel Lecharny commented on DIRSERVER-1055:
----------------------------------------------

Ok, I have a fix for it. I have tested it, just waiting for the 1.5.1 released to be voted (around midnight, Paris time !)

> Reading cn=schema doesn't return all requested attributes
> ---------------------------------------------------------
>
>                 Key: DIRSERVER-1055
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1055
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>
> When performing the following search the attributes createTimestamp and modifyTimestamp are not in the search result, although requested:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp  | grep "modifyTimestamp:"
> However when performing this search the modifyTimestamp is returned. Note the additonal "+" in the list of returning attributes:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp "+" | grep "modifyTimestamp:"
> modifyTimestamp: 20070901074516Z

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


[jira] Assigned: (DIRSERVER-1055) Reading cn=schema doesn't return all requested attributes

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

Emmanuel Lecharny reassigned DIRSERVER-1055:
--------------------------------------------

    Assignee: Emmanuel Lecharny

> Reading cn=schema doesn't return all requested attributes
> ---------------------------------------------------------
>
>                 Key: DIRSERVER-1055
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1055
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>
> When performing the following search the attributes createTimestamp and modifyTimestamp are not in the search result, although requested:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp  | grep "modifyTimestamp:"
> However when performing this search the modifyTimestamp is returned. Note the additonal "+" in the list of returning attributes:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp "+" | grep "modifyTimestamp:"
> modifyTimestamp: 20070901074516Z

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


[jira] Updated: (DIRSERVER-1055) Reading cn=schema doesn't return all requested attributes

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

Stefan Seelmann updated DIRSERVER-1055:
---------------------------------------

    Attachment: SchemaSearchTest.java

Attached test.

> Reading cn=schema doesn't return all requested attributes
> ---------------------------------------------------------
>
>                 Key: DIRSERVER-1055
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1055
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: Stefan Seelmann
>            Assignee: Emmanuel Lecharny
>         Attachments: SchemaSearchTest.java
>
>
> When performing the following search the attributes createTimestamp and modifyTimestamp are not in the search result, although requested:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp  | grep "modifyTimestamp:"
> However when performing this search the modifyTimestamp is returned. Note the additonal "+" in the list of returning attributes:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp "+" | grep "modifyTimestamp:"
> modifyTimestamp: 20070901074516Z

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


[jira] Commented: (DIRSERVER-1055) Reading cn=schema doesn't return all requested attributes

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

Emmanuel Lecharny commented on DIRSERVER-1055:
----------------------------------------------

We were not handling correctly the requested operational attributes, comparing their textual value to their OID counterpart in the selection of attributes to be returned.

> Reading cn=schema doesn't return all requested attributes
> ---------------------------------------------------------
>
>                 Key: DIRSERVER-1055
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1055
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: Stefan Seelmann
>
> When performing the following search the attributes createTimestamp and modifyTimestamp are not in the search result, although requested:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp  | grep "modifyTimestamp:"
> However when performing this search the modifyTimestamp is returned. Note the additonal "+" in the list of returning attributes:
> $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp "+" | grep "modifyTimestamp:"
> modifyTimestamp: 20070901074516Z

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