directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRSERVER-874) Entries should be normalized in the NormalizationService
Date Fri, 26 Aug 2011 16:26:41 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pierre-Arnaud Marcelot updated DIRSERVER-874:
---------------------------------------------

    Fix Version/s:     (was: 2.0.0-M2)
                   2.0.0-M3

> Entries should be normalized in the NormalizationService
> --------------------------------------------------------
>
>                 Key: DIRSERVER-874
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-874
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>            Reporter: Emmanuel Lecharny
>             Fix For: 2.0.0-M3
>
>
> ATM, we normalize entries (ie, attributes and values) far into the server, in different
places. This lead to complicated code, and duplication of operations. We can be sure that
we have bugs or at least, bugs will appears as soon as more users will try to store elements
which are not exactly what we expected them to be.
> The Normalization Service should normalize the attributes, as it does for the DN, to
avoid such problems. Attributes normalization consist of :
> - replacing the attributeType by its OID
> - applying the normalizer on each values
> - removing duplicated values in an entry (for instance, it is possible to store two phone
number, like 012345 and 01-23-45 are the same number)
> We should also normalize add, remove and modify operations in the same way, normalizing
ModifcationItems
> These modifications are not exactly simple nor fast to implement, but it's mandatory
and will help implementing new features in the near future.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message