"Open Invitations" and akonadi_search_resource
Sandro Knauß
sknauss at kde.org
Mon Jul 18 19:30:09 BST 2022
On Sonntag, 17. Juli 2022 16:45:30 CEST Carl Schwan wrote:
> Now it seems that something is not working correctly for me (and a few other
> people) as the internal tab in akonadiconsole is empty. (see attached
> screenshot) For me, the collection also appears empty in korganizer and I'm
> pretty sure I got a lot of invitations to work meetings (too many in my
> opinion).
>
> I will try to debug this locally, now that I have some overview this might
> be easier ;)
It is also quite useful to ask the Xapian database directly what it knows
about one Akonadi item. To know if the problem is the indexer or not.
If you know one Invitation, that should be listed:
you have to get the Akonadi ID and than you can query all terms via:
~/.local/share/akonadi/search_db/calendars -r 1234567
Term List for record #1234567: C8 L12043 Lberlin Oorganizer Ode Omail
PSanotheremail at example.org1 PSme at example.org0 Streffen Swilli
PS - means part status
and 0 at the end means status Open
so the Open Invitation query needs to search for PSme at example.org0, otherwise
this item won't be found.
For explanation of the prefixes:
https://invent.kde.org/pim/akonadi-search/-/blob/master/search/calendar/
calendarsearchstore.cpp
and here you see the indexing, whre one event if feeded to xapian.
https://invent.kde.org/pim/akonadi-search/-/blob/master/agent/
calendarindexer.cpp#L122
Maybe this heps you further to debug it on your side.
And than you should check if the query string for Open Invations have all you
email addresses added, as this is only done if you start KOrganizer. Because
the SearchCollectionHelper is responsible to create/update the query for all
your mail addresses.
Regards,
Sandro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20220718/e4fa7f41/attachment.sig>
More information about the kde-pim
mailing list