| Summary: | different behavior between Resource(ri) and Resource(nie:url) | ||
|---|---|---|---|
| Product: | [Unmaintained] nepomuk | Reporter: | Marco Martin <notmart> |
| Component: | libnepomukcore | Assignee: | Nepomuk Bugs Coordination <nepomuk-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | me |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Marco Martin
2012-11-22 20:02:32 UTC
Confirmed. Completely reproducible.
Test code -
Resource testRes(QUrl("nepomuk:/res/49c25a0b-17fe-43f2-be67-9d6f6d268cac"));
// Both of these are should tranlate to the same
QUrl fileUrl("file:///home/vishesh/Music/iPod_Control/Music/F03/QGQO.mp3");
QUrl resUri("nepomuk:/res/3fe88f05-0c80-4825-8671-e8d2e2f16f2a");
testRes.addIsRelated( Resource(fileUrl) );
kDebug() << testRes.properties();
A new Resource seems to have been created. This seems like a problem in the storage service. I'll take a look.
seems a very similar problem with duplicate tags there was a while ago? maybe related? Had forgotten to merge KDE/4.9 into master. The fix was there in 4.9 |