Bug 440145 - KOrganizer reports successful .ical entry import in case of a failed import because of 409 Conflict
Summary: KOrganizer reports successful .ical entry import in case of a failed import b...
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-22 10:19 UTC by Szőts Ákos
Modified: 2023-11-30 07:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szőts Ákos 2021-07-22 10:19:28 UTC
SUMMARY

I have an .ical file which I wanted to import into one of my calendars. The import failed (each time I tried) but KOrganizer shown in the status bar that the import was in fact successful. Of course, the imported entry is not visible in the calendar.

Akonadi logs after clicking the OK button for importing the .ical file for the 2nd+ time:

org.kde.pim.akonadiserver: Subscriber "CollectionDialogMonitor - 94412509232048" disconnected
org.kde.pim.akonadicore:  PLUGIN : identifier "application/octet-stream@QByteArray"
org.kde.pim.akonadicore: registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_addressee.desktop" for ("text/vcard", "text/directory") @ ("legacy", "default", "KContacts::Addressee")
org.kde.pim.akonadicore: registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_contactgroup.desktop" for ("application/x-vnd.kde.contactgroup") @ ("legacy", "default", "KContacts::ContactGroup")
org.kde.pim.akonadicore: registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_kalarm.desktop" for ("application/x-vnd.kde.alarm", "application/x-vnd.kde.alarm.active", "application/x-vnd.kde.alarm.archived", "application/x-vnd.kde.alarm.template") @ ("default", "KAlarmCal::KAEvent")
org.kde.pim.akonadicore: registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_kcalcore.desktop" for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-vnd.kde.notes") @ ("default", "KCalendarCore::Incidence*")
org.kde.pim.akonadicore: registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_mail.desktop" for ("message/rfc822", "message/news", "text/x-vnd.akonadi.note") @ ("legacy", "default", "KMime::Message*")
org.kde.pim.akonadicore: ItemSerializerPluginLoader:  found 32 plugins.
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.notes@KCalendarCore::Incidence*"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.akonadi.note@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "message/rfc822@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/directory@legacy"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.contactgroup@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.notes@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "message/rfc822@KMime::Message*"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.alarm.template@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/x-vnd.akonadi.note@KMime::Message*"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/vcard@legacy"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.alarm.archived@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.akonadi.note@KCalendarCore::Incidence*"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/calendar@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.alarm@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "message/news@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/calendar@KCalendarCore::Incidence*"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/directory@KContacts::Addressee"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.alarm.active@KAlarmCal::KAEvent"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/vcard@KContacts::Addressee"
org.kde.pim.akonadicore:  PLUGIN : identifier "message/rfc822@legacy"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/x-vnd.akonadi.note@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.alarm.template@KAlarmCal::KAEvent"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/vcard@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "message/news@legacy"
org.kde.pim.akonadicore:  PLUGIN : identifier "message/news@KMime::Message*"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.alarm@KAlarmCal::KAEvent"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.alarm.archived@KAlarmCal::KAEvent"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.contactgroup@legacy"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/directory@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.contactgroup@KContacts::ContactGroup"
org.kde.pim.akonadicore:  PLUGIN : identifier "application/x-vnd.kde.alarm.active@default"
org.kde.pim.akonadicore:  PLUGIN : identifier "text/x-vnd.akonadi.note@legacy"
org.kde.pim.davresource: Received notification for added item. Local id =  420331 . Remote id =  "" . Collection remote id =  "https://127.0.0.1:5232/XXXXX/XXX/"
org.kde.pim.akonadicore: asked to convert a "application/x-vnd.akonadi.calendar.event" item to format KContacts::Addressee
org.kde.pim.davresource: Item  420331  will be put to  "https://127.0.0.1:5232/XXXXX/XXX/1626948130.R111.ics"
org.kde.pim.davresource: Error when uploading item: 400 "There was a problem with the request. The item has not been created on the server.\nEgy erőforrást nem lehet létrehozni a megadott helyen, amíg a szükséges átmeneti mappák nem jönnek létre. (409)." [rough translation is: A resource cannot be created in the indicated place until the required temporary directories are not created. (409).]


Server debug logs:

júl 22 12:13:57 openSUSE python3[26461]: [2021-07-22 12:13:57 +0200] [26461/Thread-2] [DEBUG] Response content:
júl 22 12:13:57 openSUSE python3[26461]: <?xml version="1.0"?>
júl 22 12:13:57 openSUSE python3[26461]: <error xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
júl 22 12:13:57 openSUSE python3[26461]:   <C:no-uid-conflict />
júl 22 12:13:57 openSUSE python3[26461]: </error>
júl 22 12:13:57 openSUSE python3[26461]: [2021-07-22 12:13:57 +0200] [26461/Thread-2] [INFO] PUT response status for '/XXXXX/XXX/1626948837.R358.ics' in 0.019 seconds: 409 Conflict



SOFTWARE/OS VERSIONS

kdav: 5.84.0
Akonadi and korganizer: 21.04.3

Operating System: openSUSE Tumbleweed 20210716
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.12.3-1-default (64-bit)
Graphics Platform: X11