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

Method org.apache.directory.ldap.client.api.LdapConnection.loadSchema() should be renamed as loadDefaultSchema() to avoid confusion

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M1, 1.0.0-M2, 1.0.0-M3, 1.0.0-M4, 1.0.0-M5, 1.0.0-M6, 1.0.0-M7, 1.0.0-M8
    • Fix Version/s: 1.0.0-M11
    • Labels:
      None

      Description

      At first, I thought the method org.apache.directory.ldap.client.api.LdapConnection.loadSchema() could be used to load the schema of the remote server via the connection.

      Instead, it turned out it is loading the default (ApacheDS) schema bundled with API.

      Maybe it would be better to rename this method as loadDefaultSchema() to avoid confusion.

        Issue Links

          Activity

          Pierre-Arnaud Marcelot created issue -
          Pierre-Arnaud Marcelot made changes -
          Field Original Value New Value
          Link This issue is related to DIRAPI-46 [ DIRAPI-46 ]
          Hide
          Pierre-Arnaud Marcelot added a comment -

          Another issue (DIRAPI-46) is already opened about a generic schema loader which looks for schema elements under the value of the 'subschemaSubentry' of the RootDSE.

          Show
          Pierre-Arnaud Marcelot added a comment - Another issue ( DIRAPI-46 ) is already opened about a generic schema loader which looks for schema elements under the value of the 'subschemaSubentry' of the RootDSE.
          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 ]
          Show
          Emmanuel Lecharny added a comment - Fixed with http://svn.apache.org/viewvc?rev=1237829&view=rev
          Emmanuel Lecharny made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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
          97d 1h 43m 1 Emmanuel Lecharny 30/Jan/12 17:44
          Resolved Resolved Closed Closed
          28s 1 Emmanuel Lecharny 30/Jan/12 17:45

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development