GNOME Bugzilla – Bug 683028
Searching is broken in MediaExport
Last modified: 2012-08-30 17:29:56 UTC
Searching has not been working in the MediaExport backend since commit bb04821. The fix seems to be quite simple, even for a Vala newbie like myself. Two parameters are being passed to MediaCache.get_objects_by_search_expression in the wrong order. To fix we simply need to pass the arguments in the correct order. I've attached a patch with the proposed fix. Note that I think bb04821 might have caused other problems in MediaExport. I'm having problems getting CreateObject to work on the AnyContainer since this commit. I thought the problems might be related to the search bug but this seems not to be the case. I'm afraid I haven't yet had the time to investigate this issue further.
Created attachment 222922 [details] [review] Fix for search bug in MediaExport
Meh, git stash is evil, I remember fixing that, but found the fix on my stash :( Thanks.
The CreateObject issue is caused by 0b1f0e and missing one place in media-export which sets the sort criteria to "";
Actually, uploading objects to MediaExport is broken since more than one year while fixing DLNA compatibility for the N9