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

            Bug ID: 104005
           Summary: Expert Configuration dialog does not respect finalized
                    configuration values
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Tools - Options - LibreOffice - Advanced pane, Expert Configuration button.
The resulting Expert Configuration dialog does not respect finalized
configuration values. This means that when a configuration value is locked down
on lower levels of configuration, in this dialog it is still modifiable, and
causes program crash (Fatal Error: configmgr modification of finalized item)
when user tries to overwrite a locked down value.

Steps to Reproduce:
Lock down a value, and try to change it in Expert Configuration dialog. For
example, add create a new file, warnpdf.xcu with the following content, and add
it to share/registry/data directory of LibreOffice. 

<?xml version="1.0" encoding="UTF-8"?>
<oor:items xmlns:oor="http://openoffice.org/2001/registry";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<item oor:path="/org.openoffice.Office.Common/Security/Scripting"><prop
oor:name="WarnCreatePDF" oor:finalized="true"><value>true</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/Security/Scripting"><prop
oor:name="WarnPrintDoc" oor:finalized="true"><value>false</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/Security/Scripting"><prop
oor:name="WarnSaveOrSendDoc"
oor:finalized="true"><value>false</value></prop></item>
<item oor:path="/org.openoffice.Office.Common/Security/Scripting"><prop
oor:name="WarnSignDoc" oor:finalized="true"><value>true</value></prop></item>
</items>


Actual Results:  
You will see that the settings are actually locked down, Tools - Option -
LibreOffice - Security pane, Security Options and Warnings section, Options...
button. 

However, in Expert config the settings are modifiable.

Expected Results:
When displaying items in Expert Config dialog, the read-only state of config
item must be checked. The read-only item must be inaccessible from UI (greyed
out) and the lock icon should be there, before the text of config item. 


Reproducible: Always

User Profile Reset: 

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101
Firefox/49.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to