Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-373

Can't delete a tagged attribute if the non tagged attribute belong to the DN

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.4.0
    • Component/s: studio-ldapbrowser
    • Labels:
      None
    • Environment:
      Windows XP service pack 2

      Description

      When trying to use tags on an attribute that is part of a distinguish name :

      cn=test,ou=groups,o=cec.eu.int
      cn=test

      I add this :

      cn:lang-en-US= test_en_US

      So my entry is now like this :

      cn=test,ou=groups,o=cec.eu.int
      cn=test
      cn:lang-en-US= test_en_US

      When in the entry editor I right click on :

      cn:lang-en-US= test_en_US

      I can't delete it as I should be able.

        Issue Links

          Activity

          Hide
          Pierre-Arnaud Marcelot added a comment -

          Apache Directory Studio version 1.4.0 has been released.

          Show
          Pierre-Arnaud Marcelot added a comment - Apache Directory Studio version 1.4.0 has been released.
          Show
          Stefan Seelmann added a comment - Fixed here: http://svn.apache.org/viewvc?rev=742141&view=rev
          Hide
          Stefan Seelmann added a comment -

          I was able to reproduce this issue. Let's fix it together with DIRSTUDIO-234.

          Show
          Stefan Seelmann added a comment - I was able to reproduce this issue. Let's fix it together with DIRSTUDIO-234 .
          Hide
          Manuel FLURY added a comment - - edited

          Hi,

          I didn't wrote an LDIF in the report.

          I'm using iPlanet Directory Server 5.1 service Pack 4 and I can delete the attribute using an LDIF or Softerra Ldap Administrator for instance. Apache DS just gray the delete option in the menu.

          Show
          Manuel FLURY added a comment - - edited Hi, I didn't wrote an LDIF in the report. I'm using iPlanet Directory Server 5.1 service Pack 4 and I can delete the attribute using an LDIF or Softerra Ldap Administrator for instance. Apache DS just gray the delete option in the menu.
          Hide
          Emmanuel Lecharny added a comment -

          Two things :

          • the options are separated from the attributeType by a ';' (semi-colon), not by a ':' (colon) (just to say that the original ldif is wrong)
          • the fact that you can delete an attribute with option son ADS is pure luck, as we don't support options atm...

          This is why I asked about the LDAP server used by Manuel.

          Show
          Emmanuel Lecharny added a comment - Two things : the options are separated from the attributeType by a ';' (semi-colon), not by a ':' (colon) (just to say that the original ldif is wrong) the fact that you can delete an attribute with option son ADS is pure luck, as we don't support options atm... This is why I asked about the LDAP server used by Manuel.
          Hide
          Pierre-Arnaud Marcelot added a comment -

          I tested with the embedded Apache DS inside Apache Directory Studio and I managed to create and delete such an attribute.

          Here's the LDIF log output:
          #!RESULT OK
          #!CONNECTION ldap://localhost:10389
          #!DATE 2008-08-21T18:25:29.000
          dn: cn=test,dc=example,dc=com
          changetype: add
          objectClass: device
          objectClass: top
          cn: test

          #!RESULT OK
          #!CONNECTION ldap://localhost:10389
          #!DATE 2008-08-21T18:26:01.461
          dn: cn=test,dc=example,dc=com
          changetype: modify
          add: cn;lang-en-US
          cn;lang-en-US: test_en_US
          -

          #!RESULT OK
          #!CONNECTION ldap://localhost:10389
          #!DATE 2008-08-21T18:26:18.370
          dn: cn=test,dc=example,dc=com
          changetype: modify
          delete: cn
          cn: test_en_US
          -

          Show
          Pierre-Arnaud Marcelot added a comment - I tested with the embedded Apache DS inside Apache Directory Studio and I managed to create and delete such an attribute. Here's the LDIF log output: #!RESULT OK #!CONNECTION ldap://localhost:10389 #!DATE 2008-08-21T18:25:29.000 dn: cn=test,dc=example,dc=com changetype: add objectClass: device objectClass: top cn: test #!RESULT OK #!CONNECTION ldap://localhost:10389 #!DATE 2008-08-21T18:26:01.461 dn: cn=test,dc=example,dc=com changetype: modify add: cn;lang-en-US cn;lang-en-US: test_en_US - #!RESULT OK #!CONNECTION ldap://localhost:10389 #!DATE 2008-08-21T18:26:18.370 dn: cn=test,dc=example,dc=com changetype: modify delete: cn cn: test_en_US -
          Hide
          Emmanuel Lecharny added a comment -

          Which directory server are you using ?

          Show
          Emmanuel Lecharny added a comment - Which directory server are you using ?

            People

            • Assignee:
              Stefan Seelmann
              Reporter:
              Manuel FLURY
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development