Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1236

Store an AttributeEntry object in filter's node

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 2.0.0-M13
    • Component/s: None
    • Labels:
      None

      Description

      The Filter's nodes contain a String to describe the associated attribute. As the filters are parsed and normalized, it would be much better to store an AttributeEntry instead.

      The reason for this modification is that it will simplify such code :

      AttributeType at = session.getCoreSession().getDirectoryService()
      .getRegistries().getAttributeTypeRegistry().lookup( presenceNode.getAttribute() );
      if ( at.getOid().equals( SchemaConstants.OBJECT_CLASS_AT_OID ) )
      {

      which will become :

      if ( presenceNode.getAttribute().getOid().equals( SchemaConstants.OBJECT_CLASS_AT_OID ) )

        Activity

        Hide
        elecharny Emmanuel Lecharny added a comment -

        Moved back to 2.0.0-RC1

        Show
        elecharny Emmanuel Lecharny added a comment - Moved back to 2.0.0-RC1
        Hide
        elecharny Emmanuel Lecharny added a comment -

        The AttributeType field has been added, but a Filter must be able to handle String attributes only.

        This is almost implemented, we just have to fix some issue in tests.

        Show
        elecharny Emmanuel Lecharny added a comment - The AttributeType field has been added, but a Filter must be able to handle String attributes only. This is almost implemented, we just have to fix some issue in tests.
        Hide
        pamarcelot Pierre-Arnaud Marcelot added a comment -

        Version 2.0.0-M1 has been released.
        Moving all related non-resolved issues to the next version.

        Show
        pamarcelot Pierre-Arnaud Marcelot added a comment - Version 2.0.0-M1 has been released. Moving all related non-resolved issues to the next version.
        Hide
        pamarcelot Pierre-Arnaud Marcelot added a comment -

        Version 2.0.0-M3 has been released a couple months ago.

        Assigned the remaining opened JIRA to the next iteration (2.0.0-M4).

        Show
        pamarcelot Pierre-Arnaud Marcelot added a comment - Version 2.0.0-M3 has been released a couple months ago. Assigned the remaining opened JIRA to the next iteration (2.0.0-M4).
        Hide
        elecharny Emmanuel Lecharny added a comment -

        Done a long time ago.

        Show
        elecharny Emmanuel Lecharny added a comment - Done a long time ago.

          People

          • Assignee:
            elecharny Emmanuel Lecharny
            Reporter:
            elecharny Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development