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

                 Key: DIRSTUDIO-222
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-222
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 1.0.1
            Reporter: Emmanuel Lecharny
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to