[Libreoffice-bugs] [Bug 132005] Calc extension fails in LibreOffice (works in Apache OpenOffice)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 13 14:50:05 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=132005
--- Comment #11 from Julien Nabet <serval2412 at yahoo.fr> ---
(In reply to Stephan Bergmann from comment #10)
> (In reply to Julien Nabet from comment #7)
> > + 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"").
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).
>
> (In reply to DKG from comment #8)
>> ...
>
> AOO has changed officecfg/registry/schema/org/openoffice/Office/Addons.xcs
> incompatibly with
> <https://github.com/apache/openoffice/commit/
> 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
> <https://git.libreoffice.org/core/+/
> 189bb791d248273758bd2b42e0ec216937fa22d9%5E!> "fdo#66691: Revert fix for
> i#121577 Allow setting toolbar name in Addons.xcu".)
Thank you for the very detailed explanation!
If I well understand, should we put NOTABUG here?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200413/663b736b/attachment.htm>
More information about the Libreoffice-bugs
mailing list