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

--- Comment #11 from Denis Kurz <denis.k...@posteo.de> ---
I tried to connect to akonadiserver.socket because mysql.socket did not exist.
I fixed my akonadiserverrc and it now uses a local mysqld instance. All tables
were initialized during the last akonadi startup, so I suppose that I started
from a fresh, clean DB. The bug still persists. The only existing categories
after the initialization were birthday and anniversary.

I was now also able to apply nmset's workaround, and it works perfectly. I also
noticed that no categories are created when I edit tasks or events that already
have some categories set. I suppose the TRIGGER is responsible for that.

On the other hand, if I edit an event whose category was created after the DB
initialization, but for which I have not set the category explicitly since the
init, the edit form is not able to induce the correct category and the category
field stays empty. So it seems that the categories of events can be distinct
from the categories akonadi knows even if they have the same name.

If I just confirm the edit without modifying anything, the category is yet
preserved. If I click on the three dots next to the category field, none of the
categories is selected (not even the one with the same name as the event's
category), and just confirming the category selection dialog results in the old
event's category being removed.

Example: Event A has some category B. I reinitialize the akonadidb and A has
still category B. When I then edit A, the category field of A is empty and the
selection dialog only presents Birthday and Anniversary. Confirming this dialog
directly removes B from A. It is now necessary to explicitly create B and
select it for A.

Even though categories with the same name can be distinct, category colors are
applied for all events that contain a category of a given name.

However, everything seems to work fine right now, and it hasn't for a long
time. Thanks a lot, nmset!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to