Re: ConfigurationProvider getByHierarchicalName regression

Stephan Bergmann <[email protected]> Mon, 10 Jan 2011 10:06:10 +0100
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
On 01/10/11 08:34, Bernard Marcelly wrote:
> Running a code that works in previous versions (up to 1.1.5 !) I found
> that it throws an exception in OOo 3.3 RC3 / Windows XP. Probably same
> in the latest RC, not tested.
>
> I use getByHierarchicalName to obtain a set in a container.
> If the argument is an absolute address within the container, it is
> rejected "NoSuchElementException".
> If the argument is a relative address it is accepted.
> Both case were accepted up to now.

It never occurred to me that one would want to use absolute paths with 
getByHierarchicalName (let alone that it worked with the old configmgr 
implementation), so that got lost with the configmgr re-write for OOo 
3.3.  You can file an issue to make the new configmgr backwards 
compatible and also accept absolute paths, but I doubt this is a show 
stopper.

> A second anomaly is that if you put a Watch in Basic on the variable
> containing the registry key content, OpenOffice crashes. Seems similar
> to Issue 112107.

I remember there was a problem with the Basic Watch feature recently, 
presumably in combination with configmgr, and I think it got fixed for 
one of the 3.3 RCs, but I cannot find any details.  Can you please retry 
with a more recent RC to see if this problem is already fixed?  Thanks.

-Stephan