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 778661 - location: Initialize permissions
location: Initialize permissions
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-02-15 11:01 UTC by Florian Müllner
Modified: 2017-02-16 00:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
location: Initialize permissions (1.10 KB, patch)
2017-02-15 11:01 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2017-02-15 11:01:12 UTC
See patch.
Comment 1 Florian Müllner 2017-02-15 11:01:18 UTC
Created attachment 345799 [details] [review]
location: Initialize permissions

The permissions hash is initialized after consulting the permission
store, however the lookup is skipped for requests that cannot be
resolved to an application, resulting in an error when accessing
the uninitialized hash for saving. Just make sure that the property
is always initialized to avoid that error.
Comment 2 Rui Matos 2017-02-15 14:30:39 UTC
Review of attachment 345799 [details] [review]:

++
Comment 3 Florian Müllner 2017-02-16 00:38:34 UTC
Attachment 345799 [details] pushed as fa82af2 - location: Initialize permissions