<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Calc extension fails in LibreOffice (works in Apache OpenOffice)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132005#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Calc extension fails in LibreOffice (works in Apache OpenOffice)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132005">bug 132005</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>(In reply to Stephan Bergmann from <a href="show_bug.cgi?id=132005#c10">comment #10</a>)
<span class="quote">> (In reply to Julien Nabet from <a href="show_bug.cgi?id=132005#c7">comment #7</a>)
> > + remove this block (but let the content)
> > <node oor:name="m001">
> > </node>
>
> Better remove the outer
>
> <node oor:name="ToolBarItems">
>
> level than the inner
>
> <node oor:name="m001" oor:op="replace">
>
> one, so that the set element is named "m001" rather than "ToolBarItems" and,
> more importantly, uses oor:op="replace" (which adds the element if no
> element of the given name exists yet) rather than the default oor:op="merge"
> (which ignores the given data if no element of the given name exists,
> issuing a "warn:configmgr:*:*:configmgr/source/xcuparser.cxx:904: ignoring
> modify of unknown set member node "ToolBarItems" in
> "file:///~/.config/libreoffice/4/user/uno_packages/cache/registry/com.sun.
> star.comp.deployment.configuration.PackageRegistryBackend/*.tmp/Addons.
> xcu"").</span >
Indeed! I forgot to tell I had added oor:op="replace" for "ToolBarItems".
(I prefered keeping "ToolBarItems" compared to "m001" because first one had
some meaning).
<span class="quote">>
> (In reply to DKG from <a href="show_bug.cgi?id=132005#c8">comment #8</a>)
>> ...
>
> AOO has changed officecfg/registry/schema/org/openoffice/Office/Addons.xcs
> incompatibly with
> <<a href="https://github.com/apache/openoffice/commit/">https://github.com/apache/openoffice/commit/</a>
> bb0b5665bb7e780d37216c70970870c193b44173> "i121577 - Allow setting toolbar
> name in Addons.xcu", which is why you can either have an Addons.xcu adding
> an "ExportToGlossary.OfficeToolBar" in your extension that works for LO and
> old OOo or one that works for AOO. (We erroneously picked up that
> incompatible change from AOO into LO too, but quickly reverted it again with
> <<a href="https://git.libreoffice.org/core/+/">https://git.libreoffice.org/core/+/</a>
> 189bb791d248273758bd2b42e0ec216937fa22d9%5E!> "fdo#66691: Revert fix for
> i#121577 Allow setting toolbar name in Addons.xcu".)</span >
Thank you for the very detailed explanation!
If I well understand, should we put NOTABUG here?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>