[Bug 292820] Adding a resource from search results does not work

Lamarque V. Souza lamarque at kde.org
Tue Apr 10 14:40:12 UTC 2012


--- Comment #5 from Lamarque V. Souza <lamarque at kde.org> ---
I have found another clue about this problem. The resources not added contains
more than one "url" property, removing the "url" property that we do not want
and restarting the desktop fixed the problem for that file.

The "url" property usually contains the path of the indexed file, for the
not-added resources the other "url" property contains a nepomuk's resource uri
for another resource. That other resource contains only a few data not related
to the indexed file and a "url" property pointing back to the first resource
(it looks like a symbolic link). For some reason when creating a Resource
object passing the correct resource uri nepomuk creates the resource using the
uri of the "link" instead of the resource uri we pass to the Resource's

I will investigate why more than or "url" property is added to a resource.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Active mailing list