You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2007/08/18 07:08:31 UTC

[jira] Commented: (DIRSERVER-922) Data is "lost" after adding Index to config file

    [ https://issues.apache.org/jira/browse/DIRSERVER-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520821 ] 

Emmanuel Lecharny commented on DIRSERVER-922:
---------------------------------------------

Just some comments about your comments...

This is what I don't like about patterns : they fake to make thing easier by masking real code with 'funky names'. At the end, it's always the same story : double work :
- first you have to understand what is the real problem
- second you have to understand the pattern

ok, now for this command pattern this is really just a separation between client and server code, with a proxy in the middle. It is usefull when you don't want to deal with the underlying protocol. If you want to add a new command, or to modify an existing one, you just have to focus on the client and server code. I think pam has added some sample documentation on cwiki (remember than when you are using another pattern, you _also_ have to search the web or the GoF for a clear view of the way the pattern is used, so nothing new under the sun, and self-documented pattern is just a dream ...)





> Data is "lost" after adding Index to config file
> ------------------------------------------------
>
>                 Key: DIRSERVER-922
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-922
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: amd64
> 128M RAM
> 768 Swap
> prebuilt i386 apacheds-1.5.0
>            Reporter: Martin Marcher
>            Assignee: Pierre-Arnaud Marcelot
>             Fix For: 1.5.1
>
>
> Install Server
> add sevenseas Partition without any indexes (no property tag for indexes here at all)
> start server
> connect with LDAPStudio 0.8 (do not disconnect!)
> Load o=sevenSeas SampleData
> open server.xml Config file
> copy indexes from examplePartition to sevenSeasPartition
> don't yet save the file
> stop the server
> save server.xml
> start the server gain
> LDAPStudio will not show any data under o=sevenSeas.  (Note: Do not close the connection and reconnect)
> When Trying to add the data again you will find that it is still there
> as importing again throws errors.
> This is is also the case when closing connection and reopening the connection
> as well as quitting ldapstudio and restarting it
> reloading "this entry and all it's children" didn't help
> reloading schema didn't help either.
> greets
> martin

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