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 684257 - tracker:uri-is-descendant doesn't work with some resource types
tracker:uri-is-descendant doesn't work with some resource types
Status: RESOLVED OBSOLETE
Product: tracker
Classification: Core
Component: General
0.14.x
Other Linux
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2012-09-17 21:32 UTC by Cosimo Cecchi
Modified: 2021-05-26 22:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cosimo Cecchi 2012-09-17 21:32:52 UTC
I wanted to use tracker:uri-is-descendant to fix/workaround bug 666749 in Documents, but it looks like it doesn't work for all types of resource.

For example:

$ tracker-sparql -q "SELECT ?urn nie:url(?urn) WHERE { ?urn a nfo:Document . FILTER (tracker:uri-is-descendant('file:///home/cosimoc/Downloads/', nie:url(?urn))) }"

=> 112 results

tracker-sparql -q "SELECT ?urn nie:url(?urn) WHERE { ?urn a nie:InformationElement . FILTER (tracker:uri-is-descendant('file:///home/cosimoc/Downloads/', nie:url(?urn))) }"

=> 0 results

This is odd because nfo:Document is a direct subclass of nie:InformationElement.
Comment 1 Sam Thursfield 2021-05-26 22:23:46 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/tracker/-/issues/

Thank you for your understanding and your help.