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 529516 - RDF query fails with certain metadata keys
RDF query fails with certain metadata keys
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2008-04-23 09:56 UTC by Iago Toral
Modified: 2009-01-02 11:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test program to veryfy the bug (1.48 KB, text/plain)
2008-04-23 09:58 UTC, Iago Toral
Details
Test program updated to new API (1.62 KB, text/plain)
2009-01-02 11:57 UTC, Ivan Frade
Details

Description Iago Toral 2008-04-23 09:56:00 UTC
tracker_search_query() fails to retrieve matching results for certain metadata keys, returning an empty array.

In my tests it failed to work with Audio:Artist, Audio:Title and Audio:Album keys, but worked fine with Audio:Genre and Audio:Duration.

I'm using Tracker from HEAD, revision 1288, but fund the same problem in Tracker-0.6.6 tarball.

I'll attach a test program that you can use to verify the bug.
Comment 1 Iago Toral 2008-04-23 09:58:18 UTC
Created attachment 109751 [details]
Test program to veryfy the bug

Compile with:
gcc -o test `pkg-config --cflags --libs glib-2.0 tracker` test-tracker-query.c
Comment 2 Iago Toral 2008-05-28 15:23:54 UTC
with revision 1520 looks like this is almost fixed: I did some tests and worked well with for some files, but got a crash of the tracker daemon with some others.
Comment 3 Ivan Frade 2009-01-02 11:57:48 UTC
Created attachment 125622 [details]
Test program updated to new API

Updated to the lastest API and print keys in the correct order.
Comment 4 Ivan Frade 2009-01-02 11:58:24 UTC
Seems to work fine. Closing as fixed.