Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-65

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-M8
    • 1.0.0-M9
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            pamarcelot Pierre-Arnaud Marcelot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: