https://bugs.kde.org/show_bug.cgi?id=363697
--- Comment #7 from Johannes Hirte <johannes.hi...@datenkhaos.de> --- Of course, foreign key checks is part of the problem. Disabling this with: d->db->execSql(QString("SET FOREIGN_KEY_CHECKS = 0;")); d->db->execSql(QString("UPDATE Albums SET albumRoot=0, relativePath=? WHERE id=?;"), newRelativePath, albumID); // for now, we make no distinction to deleteAlbums wrt to changeset d->db->recordChangeset(AlbumChangeset(albumID, AlbumChangeset::Deleted)); d->db->execSql(QString("SET FOREIGN_KEY_CHECKS = 1;")); will make deletion of albums work. But I'm not sure, if this is really the right way to fix this. -- You are receiving this mail because: You are watching all bug changes.