[kmail2] [Bug 413277] Custom message tags won't be saved

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Oct 28 09:37:02 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=413277

--- Comment #1 from fredgib at free.fr ---
After a quick look with akonadi console, the error seems to be:

Cannot add or update a child row: a foreign key constraint fails
(`akonadi`.`tagtable`, CONSTRAINT `tagtable_ibfk_1` FOREIGN KEY (`parentId`)
REFERENCES `tagtable` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)

Which is indeed impossible to process when the TagTable is empty. This
constraint demands that the first item ever inserted in TagTable should
reference a parentId, which is impossible.

A possible solution I can think of would be to have a generic/dummy item in
TagTable by default at installation time.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list