Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-291

Adding of an objectclass requiring attributes not present to an entry in the ldap browser, modify operation fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.3.0
    • Component/s: studio-ldapbrowser
    • Labels:
      None
    • Environment:
      Fedora 8, Java SE Runtime ENvironment 1.6.0_04-b12, Apache Directory Studio 1.1.0.v20080303

      Description

      1.) Open a connection to a LDAP directory server
      2.) Browse to some entry within you directory
      3.) Create an entry with the objectclass 'person' and just set the required attributes cn & sn
      4.) Open the newly created entry in the LDAP browser
      5.) In the entry browser right click on any value of the attribute 'objectClass'. Choose 'New Value'.
      6.) In the Object Class Editor which just opened, choose 'uidObject'. Press OK.

      Apache Directory Studio will try to add the new value for 'objectClass' w/o prompting for a value for the additonally required attribute 'uid' and fail with the error:
      "Error while creating value
      [LDAP: error code 65 - object class 'uidObject' requires attribute 'uid']
      [LDAP: error code 65 - object class 'uidObject' requires attribute 'uid']"

      The same problem occurs when trying to change the objectclass from one structural class to another class requiring at least on additional attibute.

      I believe this is a (minor) bug issue, not just improvement.

      But thanks for the Apache Directory Studio - it is really great.

        Activity

        Linus van Geuns created issue -
        Stefan Seelmann made changes -
        Field Original Value New Value
        Assignee Stefan Seelmann [ seelmann ]
        Fix Version/s 1.3.0 [ 12313309 ]
        Stefan Seelmann made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Stefan Seelmann added a comment -

        Now, when editing the objectClass attribute it opens a wizard, similar to the 'new entry wizard'. In the first step you could define the object classes, in the second step it is possible to edit the attributes, on finish it computes the difference between the orignal entry and the changed entry and sends these changes to the server. Also added an action 'Edit Entry' to the context menu that opens this wizard.

        Fixed here:
        http://svn.apache.org/viewvc?rev=687679&view=rev

        Show
        Stefan Seelmann added a comment - Now, when editing the objectClass attribute it opens a wizard, similar to the 'new entry wizard'. In the first step you could define the object classes, in the second step it is possible to edit the attributes, on finish it computes the difference between the orignal entry and the changed entry and sends these changes to the server. Also added an action 'Edit Entry' to the context menu that opens this wizard. Fixed here: http://svn.apache.org/viewvc?rev=687679&view=rev
        Stefan Seelmann made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Capitalized first letter.

        Show
        Pierre-Arnaud Marcelot added a comment - Capitalized first letter.
        Pierre-Arnaud Marcelot made changes -
        Summary adding of an objectclass requiring attributes not present to an entry in the ldap browser, modify operation fails Adding of an objectclass requiring attributes not present to an entry in the ldap browser, modify operation fails
        Pierre-Arnaud Marcelot made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        166d 18h 10m 1 Stefan Seelmann 19/Aug/08 09:48
        In Progress In Progress Resolved Resolved
        2d 31m 1 Stefan Seelmann 21/Aug/08 10:20
        Resolved Resolved Closed Closed
        204d 4h 13m 1 Pierre-Arnaud Marcelot 13/Mar/09 14:33

          People

          • Assignee:
            Stefan Seelmann
            Reporter:
            Linus van Geuns
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development