GNOME Bugzilla – Bug 707065
CreateReference failed in Playlist subfolder
Last modified: 2013-09-28 10:59:22 UTC
1 - Create a folder under Playlist root folder 2 - Create a reference in this new folder => Error. (lt-rygel:20789): Rygel-WARNING **: Failed to create object under 'playlist:fbbedbd6-86da-4e02-85f9-998b818fda7d': Object creation in playlist:fbbedbd6-86da-4e02-85f9-998b818fda7d not allowed Issue is in src/librygel-server/rygel-reference-creator.vala, fetch_container(), the test of OCMFlags.UPLOAD failed. => The new folder has only the DELETE flag set to 1.
Created attachment 253933 [details] [review] server: No OCM flags checking for CreateReference There's no DLNA guidelines for reference creation, however if a container only supports reference creation such as MediaExport's playlist containers, it mustn't have the UPLOAD OCM flag set. So we just check for writable container and let the creation fail later on in the container if it's not allowed to have references there.
pushed as faa7ec85a9832193ddab50a74ad986da8592b426