After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704424 - No error when failing to override a locked key
No error when failing to override a locked key
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gsettings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-07-17 20:32 UTC by Kat
Modified: 2013-07-28 20:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gsettings tool: report failure to write (866 bytes, patch)
2013-07-19 23:42 UTC, Matthias Clasen
accepted-commit_now Details | Review

Description Kat 2013-07-17 20:32:57 UTC
If a key has been locked and one tried to set it using gsettings, no error is shown when gsettings fails to set the key.

gsettings should return an error if it fails to set a key.
Comment 1 Matthias Clasen 2013-07-19 23:42:15 UTC
Created attachment 249666 [details] [review]
gsettings tool: report failure to write

If a key is locked down, we should report an error if we
fail to write it.
Comment 2 Colin Walters 2013-07-20 00:14:06 UTC
Review of attachment 249666 [details] [review]:

Looks good.