Skip to content
Commit 80ee42ff authored by Méven Car's avatar Méven Car
Browse files

StatsPlugin: Also clear corresponding ResourceInfo

when cleaning resources.

BUG: 478876
parent e42bc4cc
Pipeline #564053 passed with stage
in 42 seconds
  • Jin Liu @genericity ·
    Developer

    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?

  • Author Developer

    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.

0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment