[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666138#action_12666138
 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-448:
--------------------------------------------------


With Emmanuel we figured out this was a problem of indexed attributes on our 
testing partition.

My initial partition, where I'm getting the error does not have any index (I 
was tool lazy to add some at the creation of the partition). This lack of 
index, particularly on the 'objectClass' attribute makes Apache DS return the 
search results in an unordered way.

For the purpose of the test I created the exact same partition but added basic 
indices on it, I imported the very same data and the LDIF export was correctly 
ordered.

Cheong Chung Onn, do you have the same thing? Did you create a new partition 
with an empty list of indexed attributes?

Now, the question is: On the Studio side, Do we take for granted that search 
results given from the LDAP Server are always correctly hierarchically ordered 
(even if no RFC clearly specify it, just because it's the common way of 
returning the results), or do we add additional code to verify and, eventually, 
reorder the entries when writing the LDIF export file ?

Another question: Do we need to raise a JIRA for the problem we've face with 
Apache DS when a partition does not have an index on the 'objectClass' 
attribute ?

> Apache Studio ldif export
> -------------------------
>
>                 Key: DIRSTUDIO-448
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-448
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: Ubuntu 8.10, Java 1.6.0_10-b33, Apache Studio 1.3, 
> Apache DS 1.5.4
>            Reporter: Cheong Chung Onn
>
> I exported a branch of entries to an ldif file using Apache Studio version 
> 1.3 and when i tried to import the this ldif file i got numerous errors. I 
> realized the exported ldif file is not sorted in a parent-child entry entry 
> sequence, hence when i re-import this ldif file - i received errors messages 
> that it can't find a entry. 

-- 
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