<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#c10">Comment # 10</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:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span></b>
        <pre>(In reply to Julien Nabet from <a href="show_bug.cgi?id=132005#c7">comment #7</a>)
<span class="quote">> + remove this block (but let the content)
> <node oor:name="m001">
> </node></span >

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"").

(In reply to DKG from <a href="show_bug.cgi?id=132005#c8">comment #8</a>)
<span class="quote">> In Apache OpenOffice, however, an error message appears:

> (com.sun.star.uno.RuntimeException) { { Message = "Invalid operation on
> group node in
> file///C:/Users/user/AppData/Roaming/OpenOffice/4/user/uno_packages/cache/
> registry/com.star.comp.deployment.configuration.PackageRegistryBackend/
> sv8mwm5.tmp/Addons.xcu", Context = (com.sun.star.uno.XInterface) @0 }}

> Has an incompatibility been introduced between LO and AOO? Anyway, the
> problem is solved for LibreOffice, and for Apache OpenOffice the previous
> version can be used.</span >

AOO has changed officecfg/registry/schema/org/openoffice/Office/Addons.xcs
incompatibly with
<<a href="https://github.com/apache/openoffice/commit/bb0b5665bb7e780d37216c70970870c193b44173">https://github.com/apache/openoffice/commit/bb0b5665bb7e780d37216c70970870c193b44173</a>>
"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/+/189bb791d248273758bd2b42e0ec216937fa22d9%5E">https://git.libreoffice.org/core/+/189bb791d248273758bd2b42e0ec216937fa22d9%5E</a>!>
"fdo#66691: Revert fix for i#121577 Allow setting toolbar name in Addons.xcu".)</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>