directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ersin Er (JIRA)" <>
Subject [jira] Updated: (DIRSERVER-637) Possible to create entry which misses a required attribute
Date Wed, 07 Jun 2006 17:40:30 GMT
     [ ]

Ersin Er updated DIRSERVER-637:

    Attachment: AddingEntriesWithMissingMustAttributesShouldFail.diff

This simple patch (hopefully) solves the problem mentioned. This is a quick fix and only solves
the problem for add operation. I have not been involved in the schema system before so it
may not a a refined solution. However it should work (as tested locally). If it's OK, I can
also apply it to the repository.

> Possible to create entry which misses a required attribute
> ----------------------------------------------------------
>          Key: DIRSERVER-637
>          URL:
>      Project: Directory ApacheDS
>         Type: Bug

>     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
>  Attachments:, AddingEntriesWithMissingMustAttributesShouldFail.diff
> 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:
For more information on JIRA, see:

View raw message