Bug 440147 - KOrganizer doesn't show imported .ical calendar (but uploads it to the server successfully)
Summary: KOrganizer doesn't show imported .ical calendar (but uploads it to the server...
Status: REPORTED
Alias: None
Product: korganizer
Classification: Applications
Component: import/export (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:37 UTC by Szőts Ákos
Modified: 2023-11-30 07:42 UTC (History)
2 users (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:37:26 UTC
SUMMARY

I have an .ical file which is sent from Google calendar. I tried to open the file itself in KMail, open with KOrganizer, choose "Merge with existing calendar", and choose the calendar.

What I saw in the logs, the event was successfully imported.

In Akonadi logs I saw:

org.kde.pim.davresource: Received notification for added item. Local id =  420333 . Remote id =  "" . Collection remote id =  "https://127.0.0.1:5232/XXXXXXX/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  420333  will be put to  "https://127.0.0.1:5232/XXXXXXX/XXX/1626949401.R950.ics

org.kde.pim.akonadi_indexer_agent: Processing collection:  36
org.kde.pim.akonadi_indexer_agent: 
org.kde.pim.akonadi_indexer_agent: collectionIndexingJob::indexItems(const QList<Akonadi::Item::Id> &itemIds) count  1
org.kde.pim.akonadi_indexer_agent:  CollectionIndexingJob::slotPendingItemsReceived  1
org.kde.pim.akonadi_indexer_agent:  void CollectionIndexingJob::slotPendingItemsReceived(const Akonadi::Item::List &items) 420333
org.kde.pim.akonadi_indexer_agent:  CollectionIndexingJob::slotPendingIndexed 
org.kde.pim.akonadi_indexer_agent: Indexed  1  items in (ms):  3
org.kde.pim.akonadi_indexer_agent: Indexing complete. Total time:  4
org.kde.pim.akonadi_indexer_agent: Processing done
org.kde.pim.akonadi_indexer_agent: Xapian Committed
org.kde.pim.akonadi_indexer_agent: Xapian Committed


In the server logs I saw:

[2021-07-22 12:23:21 +0200] [30108/Thread-4] [INFO] GET response status for '/XXXXXXX/XXX/1626949401.R950.ics' in 0.003 seconds: 200 OK


A different calendar application which connects to the same server successfully shows the event. KOrganizer does not, even after I restarted both itself and akonadi.

Let me know if you need any additional debug logs.


SOFTWARE/OS VERSIONS

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
Comment 1 gjditchfield 2021-07-22 16:35:34 UTC
If I understand correctly, you imported a *.ics file into a calendar provided by some CalDAV server running on your computer, the events seem to be stored in the CalDAV server correctly, but KOrganizer doesn't display them.

The first question (silly, but I have to ask):  is the calendar enabled -- is its checkbox checked off in the Calendars widget in KOrganizer's sidebar?

Second question: does this ICS file contain just an event or to-do that lists you as an ATTENDEE?  If so, this could be a duplicate of bug 436812.

If you have akonadiconsole installed, please launch it.  Select the Browser tab, and in the Collection list on the left-hand side, select the calendar.  Does the right-hand side show the events from the ICS file?
Comment 2 Szőts Ákos 2021-07-22 18:30:41 UTC
Sorry, I was indeed vague on my setup. So I received the .ical file from someone who created that on their Google Calendar. I have a CalDAV server on my own machine to which KOrganizer is connected. I opened the received .ical file in KMail for processing by KOrganizer. The local CalDAV server successfully stored the event by KOrganizer (which I can verify in an other calendar application).

Yes, the calendar is enabled. I tried to turn it on/off multiple times now and it correctly shows/hides all the events for that calendar with the exception of this one.

Akonadiconsole completely correctly shows the event (I could find it by the local UUID). Its payload tab is perfectly showing the details.

The event doesn't have a VTODO section, only a VEVENT.

I'm now anonymising the .ics file and I'll try to reproduce the bug with it. If it's successful, I'll send the file to your e-mail address.

Ps.: I tried to import the same file multiple times (because it said it was successful - see Bug 440145) and even in case of multiple imports the entry wasn't shown (though the conflicting UUID must have had some influence on it).
Comment 3 Szőts Ákos 2021-07-22 18:51:17 UTC
I think I found out the part which causes the problem (and possibly this will qualify this bug report as a duplicate of the aforementioned one).

ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=<e-mail address 1>;X-NUM-GUESTS=0:mailto:<e-mail address 2>

If "<e-mail address 2>" is exactly the same as my e-mail address then the event is not shown. "<e-mail address 1>" has no significance in this matter.