Date: prev next · Thread: first prev next last
October 2018 Archives by date, by thread · List index


https://bugs.documentfoundation.org/show_bug.cgi?id=120271

--- Comment #15 from Michael Weghorn <m.weghorn@posteo.de> ---
(In reply to Mike Kaganski from comment #10)
I suppose that making it 0 and final (so not modifiable) would do.

Thanks for the idea. However, when I tried to do so, LibreOffice crashes, and
shows this line on stderr:

    warn:vcl.schedule:28679:28679:vcl/source/app/scheduler.cxx:479: Uncaught
com.sun.star.lang.IllegalArgumentException configmgr modification of finalized
item

which somewhat conforms to what is described in the PDF document linked at
https://wiki.documentfoundation.org/Deployment_and_Migration#Configuration_Extension
:

"Adding oor:finalized allows you to ENFORCE this setting
- preventing the user from over-riding it with his own preference. (Sometimes
the finalized settings are visibly disabled in the GUI. In some other cases, if
the user tries to modify it, LibreOffice will crash/close with the error
“configmgr modification of finalized item”.)"

What I did was adding a file './instdir/share/registry' with the following
content:

<?xml version="1.0"?>
<oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:oor="http://openoffice.org/2001/registry";>
  <dependency file="main" />
  <oor:component-data xmlns:install="http://openoffice.org/2004/installation";
  oor:name="Setup" oor:package="org.openoffice">
    <node oor:name="Product">
        <prop oor:name="LastTimeGetInvolvedShown" oor:op="fuse"
oor:finalized="true">
          <value>0</value>
        </prop>
    </node>
  </oor:component-data>
</oor:data>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.