Re: ConfigurationProvider getByHierarchicalName regression
Bernard Marcelly <[email protected]> Mon, 10 Jan 2011 14:42:09 +0100
| Newsgroups | gmane.comp.openoffice.devel.api |
|---|---|
| Message-ID | <[email protected]> |
Message de Stephan Bergmann date 2011-01-10 10:06 :
>
> 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.
>
I have created Issue 116391
<http://qa.openoffice.org/issues/show_bug.cgi?id=116391>
Bernard