Directory Client API
  1. Directory Client API
  2. DIRAPI-65

AttributeTypeDescriptionSchemaParser fails to parse OID formatted as X.Y.0000Z

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M8
    • Fix Version/s: 1.0.0-M9
    • Labels:
      None

      Description

      While working on DIRSTUDIO-748, we discovered that the AttributeTypeDescriptionSchemaParser was not properly handling OID formatted as X.Y.0000Z.

      Here's the error the parser generates:
      [16:51:51] ERROR [org.apache.directory.shared.ldap.model.schema.parsers.AttributeTypeDescriptionSchemaParser] - ERR_04228 Parser failure on attribute type description:
      ( 1.3.6.1.4.1.25260.1.001 NAME 'maildrop' DESC 'Defines the address mail goes to' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 USAGE userApplications X-SCHEMA 'DIRSTUDIO-748' )
      Antlr message: unexpected token: 01
      Antlr column: 22

        Activity

        Pierre-Arnaud Marcelot created issue -
        Hide
        Emmanuel Lecharny added a comment -
        Show
        Emmanuel Lecharny added a comment - Fixed with commit : http://svn.apache.org/viewvc?rev=1207961&view=rev
        Emmanuel Lecharny made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Emmanuel Lecharny made changes -
        Fix Version/s 1.0.0-M9 [ 12317853 ]
        Affects Version/s 1.0.0-M8 [ 12317852 ]
        Emmanuel Lecharny made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2m 1s 1 Emmanuel Lecharny 29/Nov/11 16:50
        Resolved Resolved Closed Closed
        51d 15h 34m 1 Emmanuel Lecharny 20/Jan/12 08:25

          People

          • Assignee:
            Unassigned
            Reporter:
            Pierre-Arnaud Marcelot
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development