Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-222

Pb when creating an entry with an invalid atribute as a RDN

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.1.0
    • Component/s: studio-ldapbrowser
    • Labels:
      None

      Description

      If you create an entry and select a bad attribuet as a RDN, you can't anymore add the entry even if you select a good attribute :

      • create a new entry
      • select the 'person' OC
      • enter 'givenname' with a value (test)
      • update the 'cn' and 'sn' values
      • click on 'finish'
        you get this error :
        Error while creating entry
        [LDAP: error code 65 - failed to add entry givenname=test,dc=example,dc=com: Attribute givenname not declared in objectClasses of entry givenname=test,dc=example,dc=com]
        [LDAP: error code 65 - failed to add entry givenname=test,dc=example,dc=com: Attribute givenname not declared in objectClasses of entry givenname=test,dc=example,dc=com]

      which is plain normal because 'givenname' is not in MUST or MAY for person.

      • come back to the distinguished name menu
      • now select 'cn' and keep the same value (test)
      • and move to the next menu : the 'finish' button is not available.

      Beside this bug, it would be better to forbid the usage of attributes which are not in MUST and MAY list.

        Activity

        Hide
        Pierre-Arnaud Marcelot added a comment -
        Show
        Pierre-Arnaud Marcelot added a comment - Fixed at commit 612818. http://svn.apache.org/viewvc?rev=612818&view=rev

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development