StatsPlugin: Also clear corresponding ResourceInfo
when cleaning resources. BUG: 478876
-
This doesn't clear orphan records in ResourceInfo due to https://bugs.kde.org/show_bug.cgi?id=478397. Probably it's OK, as the bug is only in 6.0 alpha/beta, and the user can just delete the database. Or perhaps you can add a SQL command that deletes those orphan records?
-
I just fixed this bug !67 (merged). It caused no history at all to be recorded.
Or perhaps you can add a SQL command that deletes those orphan records?
That could be the way forward but that would be deleted data in another activity.
The alternative would be to remove ResourceInfo whose ResourceEvent are only in the concerned activity. That would keep state consistent but remove less data.
The former would probably better correspond to the user expectation.
Please register or sign in to comment