Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-513

Do delete before add when modifying attribute values


    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: studio-ldapbrowser
    • Labels:


      When connecting to Novell eDirectory and modifying the schema an "Attribute Or Value Exists" error occurs. This is due to the modification performing an add before the delete and eDirectory (wrongly) complains that the same OID has been used more than once before realising that the old value should be deleted. Note that this is a problem with eDirectory but it would be useful if Studio asked for the delete to be performed before the add when modifying an attribute value which eDirectory is OK with.

      An example of the LDIF in the modifications logs view for an operation that fails is:

      dn: cn=schema
      changetype: modify
      add: objectClasses
      objectClasses: ( 2.16.840.1.113730.3.2.2 NAME 'inetOrgPerson' [ value...]
      delete: objectClasses
      objectClasses: ( 2.16.840.1.113730.3.2.2 NAME 'inetOrgPerson' [...old value...]

      It also seems that modifying the schema on ApacheDS has the same issue.


        Martin Alderson created issue -
        Stefan Seelmann made changes -
        Field Original Value New Value
        Fix Version/s 1.5.0 [ 12313682 ]
        Stefan Seelmann made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Stefan Seelmann [ seelmann ]
        Resolution Fixed [ 1 ]
        Pierre-Arnaud Marcelot made changes -
        Component/s studio-ldapbrowser [ 12311538 ]
        Pierre-Arnaud Marcelot made changes -
        Status Resolved [ 5 ] Closed [ 6 ]


          • Assignee:
            Stefan Seelmann
            Martin Alderson
          • Votes:
            1 Vote for this issue
            1 Start watching this issue


            • Created: