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 689134 - ServiceResetToken state variable do not persist across sessions
ServiceResetToken state variable do not persist across sessions
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: MediaExport plugin
git master
Other Linux
: Normal normal
: ---
Assigned To: Jens Georg
rygel-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-27 08:37 UTC by regis.merlino
Modified: 2012-12-12 18:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
server: Get ServiceResetToken from RootContainer (3.11 KB, patch)
2012-12-06 13:11 UTC, Jens Georg
committed Details | Review
media-export: Persist ServiceResetToken (7.97 KB, patch)
2012-12-12 18:20 UTC, Jens Georg
committed Details | Review

Description regis.merlino 2012-11-27 08:37:34 UTC
A new value for the ServiceResetToken state variable is generated each time the server launches.
The same value should persist across sessions until the service reset procedure is required.
Comment 1 Jens Georg 2012-11-28 16:29:44 UTC
Against which plugin are you testing this (and bug 689135)?
Comment 2 regis.merlino 2012-11-28 16:51:07 UTC
I am testing using tracker plugin, but I guess that the result would be the same with other plugins as the ServiceResetToken variable is generated in Rygel.ContentDirectory constructed() method.
Comment 3 Jens Georg 2012-11-28 19:20:49 UTC
Interesting, where did the patch to query that from the root container go?
Comment 4 Jens Georg 2012-12-06 13:11:13 UTC
Created attachment 230884 [details] [review]
server: Get ServiceResetToken from RootContainer
Comment 5 regis.merlino 2012-12-06 13:27:17 UTC
Review of attachment 230884 [details] [review]:

Hi Jens, looks fine to me.
Comment 6 Jens Georg 2012-12-12 18:20:23 UTC
Created attachment 231403 [details] [review]
media-export: Persist ServiceResetToken
Comment 7 Jens Georg 2012-12-12 18:21:13 UTC
Moving to MediaExport as that's where it's fixed.
Comment 8 Jens Georg 2012-12-12 18:25:33 UTC
Attachment 231403 [details] pushed as 091afe8 - media-export: Persist ServiceResetToken