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

Parsers and generators of OpenLDAP code (RFC 4512) for Schema Objects does not support escaped strings in the description

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0-M8
    • Fix Version/s: 1.0.0-RC1
    • Labels:
      None

      Description

      The parsers for OpenLDAP code (RFC 4512) for SchemaObjects does not support having an escaped string using "\'".

      Same thing for the generators which does not automatically escape a string containing a ' (quote) character when it's used in the description.

      Furthermore, there seem to be 2 different classes generating OpenLDAP code:

      • /shared-ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DescriptionUtils.java
      • /shared-ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/SchemaUtils.java

      We should verify if a single one couldn't be used instead.

        Issue Links

          Activity

          Pierre-Arnaud Marcelot created issue -
          Pierre-Arnaud Marcelot made changes -
          Field Original Value New Value
          Link This issue blocks DIRSTUDIO-719 [ DIRSTUDIO-719 ]
          Pierre-Arnaud Marcelot made changes -
          Fix Version/s 1.0.0-M10 [ 12319495 ]
          Fix Version/s 1.0.0-M9 [ 12317853 ]
          Pierre-Arnaud Marcelot made changes -
          Fix Version/s 1.0.0-M11 [ 12319496 ]
          Fix Version/s 1.0.0-M10 [ 12319495 ]
          Pierre-Arnaud Marcelot made changes -
          Fix Version/s 1.0.0-M12 [ 12320050 ]
          Fix Version/s 1.0.0-M11 [ 12319496 ]
          Emmanuel Lecharny made changes -
          Fix Version/s 1.0.0-M13 [ 12321276 ]
          Fix Version/s 1.0.0-M12 [ 12320050 ]
          Emmanuel Lecharny made changes -
          Fix Version/s 1.0.0-M14 [ 12323330 ]
          Fix Version/s 1.0.0-M13 [ 12321276 ]
          Emmanuel Lecharny made changes -
          Fix Version/s 1.0.0-M15 [ 12323894 ]
          Fix Version/s 1.0.0-M14 [ 12323330 ]
          Pierre-Arnaud Marcelot made changes -
          Fix Version/s 1.0.0-M16 [ 12324002 ]
          Fix Version/s 1.0.0-M15 [ 12323894 ]
          Emmanuel Lecharny made changes -
          Fix Version/s 1.0.0-M17 [ 12324095 ]
          Fix Version/s 1.0.0-M16 [ 12324002 ]
          Gavin made changes -
          Link This issue blocks DIRSTUDIO-719 [ DIRSTUDIO-719 ]
          Gavin made changes -
          Link This issue is depended upon by DIRSTUDIO-719 [ DIRSTUDIO-719 ]
          Emmanuel Lecharny made changes -
          Fix Version/s 1.0.0-RC1 [ 12315974 ]
          Fix Version/s 1.0.0-M17 [ 12324095 ]

            People

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

              Dates

              • Created:
                Updated:

                Development