You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <ji...@apache.org> on 2006/08/06 05:58:14 UTC

[jira] Closed: (DIRSERVER-637) Possible to create entry which misses a required attribute

     [ http://issues.apache.org/jira/browse/DIRSERVER-637?page=all ]

Alex Karasulu closed DIRSERVER-637.
-----------------------------------

    Fix Version/s: 1.1.0
                   1.0-RC4
       Resolution: Fixed

Committed fixes in revisions 429101 (1.0 branch) and 429102 (1.1 branch)

> Possible to create entry which misses a required attribute
> ----------------------------------------------------------
>
>                 Key: DIRSERVER-637
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-637
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC3
>         Environment: ApacheDS 1.0 RC 3
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
> Microsoft Windows XP version 5.1 Service Pack 1
>            Reporter: Stefan Zoerner
>         Assigned To: Alex Karasulu
>             Fix For: 1.1.0, 1.0-RC4
>
>         Attachments: AddingEntriesWithMissingMustAttributesShouldFail.diff, AddWithMissingAttributes.java
>
>
> It is possible to create entries which miss required attributes. Here is an example: objectClass person requires a value for sn, but it is possible to import the following entry:
> dn: cn=Fiona Apple,dc=example,dc=com
> objectclass: top
> objectclass: person
> cn: Fiona Apple
> I add a JUnit test class which passes if the expected error (objectClass violation) occurs. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira