Revision d732592...
Go back to digest for 18th March 2012Bug Fixes in KDE-PIM
Vishesh Handa committed changes in [kde-runtime] /services/storage:
Merge duplicate statements in the ResourceMerger
This happens in cases where two resources identifiy to the same resource and
their statements are resolved in the ResourceMerger. During the cardinality
checks, there exist identical duplicates (because of the merge) of certain
properties which result in cardinality errors.
Also added a unit test.
This should fix the problem with PIM Email Indexing
File Changes
Modified 5 files
- /services/storage
- nepomuk/resourcemerger.cpp
- nepomuk/resourcemerger.h
- nepomuk/test/datamanagementmodeltest.cpp
- nepomuk/test/datamanagementmodeltest.h
- nepomuk/test/qtest_dms.cpp
5 files changed in total