Laurent Godard wrote:
HI all

i created a lot of datasources and deleted them
i end with a big file
.openoffice.org/3/user/registry/data/org/openoffice/Office/DataAccess.xcu

containing tons of line in  <node oor:name="RegisteredNames">
like
  <node oor:name="myTest1" oor:op="remove"/>

I tried using the com.sun.star.configuration.ConfigurationProvider service, and succeed to list all of them. But i have no indication whether the node is tagged as op="remove" (or op="replace")

Hi Laurent,
Moreover, the DataAccess.xcu contains no information regarding the associated file path to the odb file, but the ConfigurationProvider provides the information
I suspect a cache issue
Did you try to delete the cache files? I think this is the first approach to see if this problem is related to cache files. The configuration automatically creates new cache file on the next startup.

Is it possible to force the rebuild of the ooo registry cache for a given xcu file (or nodepath) using UNO api ?
I am not a configuration expert but as far as I know the configuration creates a new cache file whenever you change data/entries in the XCU file.

Regards,
Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@framework.openoffice.org
For additional commands, e-mail: dev-h...@framework.openoffice.org

Reply via email to