Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1236

Store an AttributeEntry object in filter's node

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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

        Emmanuel Lecharny created issue -
        Emmanuel Lecharny made changes -
        Field Original Value New Value
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Fix Version/s 2.0.0 [ 12312396 ]
        Emmanuel Lecharny made changes -
        Assignee Emmanuel Lecharny [ elecharny ]
        Emmanuel Lecharny made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0-M1 [ 12316055 ]
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-M2 [ 12316056 ]
        Fix Version/s 2.0.0-M1 [ 12316055 ]
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-M3 [ 12316467 ]
        Fix Version/s 2.0.0-M2 [ 12316056 ]
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Fix Version/s 2.0.0-M3 [ 12316467 ]
        Emmanuel Lecharny made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Emmanuel Lecharny made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0.0-M13 [ 12324631 ]
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Emmanuel Lecharny made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development