Bug 204288 - problem adding event from e-mail - messageText is empty
Summary: problem adding event from e-mail - messageText is empty
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: investigated, triaged
: 205264 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-18 15:45 UTC by kavol
Modified: 2018-10-27 02:22 UTC (History)
8 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 kavol 2009-08-18 15:45:29 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Fedora RPMs

After receiving an invitation and clicking Accept, it does not get added into my calendar and the confirmation is not sent to the organizer. The error message is "messageText is empty, unable to parse into a ScheduleMessage".

The message source is like this (I've cut out some e-mail headers and internal info):

X-Calendar-Attachment: meeting.ics
X-Calendar-Attachment: meeting.ics
X-Mailman-Version: 2.1.9
Precedence: list
X-UID: 109877
X-Length: 8878
Status: R
X-Status: N
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  

------=_Part_33925_273135229.1250588176899
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

The following is a new meeting request:

Subject: ABRT presentation: second time 
Organizer: "Daniel Novotny" <...cut...> 

Location: Red Room - BRQ 
Resources: Red Room - BRQ (Site: BRQ, Floor: 2) 
Time: Wednesday, August 19, 2009, 2:00:00 PM - 3:00:00 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
 
Invitees: "Brno office - Czech Republic" <...cut...> 

*~*~*~*~*~*~*~*~*~*

hello,
for those of you who unfortunately didn't fit in the ABRT presentation last week,
there will be another one this Wednesday.
topics:
- main purpose of ABRT
- internal architecture
- plugins
- how can you help with testing

------=_Part_33925_273135229.1250588176899
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html><body><h3>The following is a new meeting request:</h3>

<p>
<table border='0'>
<tr><th align=left>Subject:</th><td>ABRT presentation: second time </td></tr>
<tr><th align=left>Organizer:</th><td>"Daniel Novotny" &lt;...cut...&gt; </td></tr>
</table>
<p>
<table border='0'>
<tr><th align=left>Location:</th><td>Red Room - BRQ </td></tr>
<tr><th align=left>Resources:</th><td>Red Room - BRQ (Site: BRQ, Floor: 2) </td></tr>
<tr><th align=left>Time:</th><td>Wednesday, August 19, 2009, 2:00:00 PM - 3:00:00 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
 </td></tr></table>
<p>
<table border='0'>
<tr><th align=left>Invitees:</th><td>"Brno office - Czech Republic" <...cut...> </td></tr></table>
<div>*~*~*~*~*~*~*~*~*~*</div><br>hello,<br>for those of you who unfortunately didn't fit in the ABRT presentation last week,<br>there will be another one this Wednesday.<br>topics:<br>- main purpose of ABRT<br>- internal architecture<br>- plugins<br>- how can you help with testing<br></body></html>
------=_Part_33925_273135229.1250588176899
Content-Type: text/calendar; charset=utf-8; method=REQUEST; name=meeting.ics
Content-Transfer-Encoding: 7bit

BEGIN:VCALENDAR
PRODID:Zimbra-Calendar-Provider
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:(GMT-05.00) Eastern Time (US & Canada)
BEGIN:STANDARD
DTSTART:19710101T020000
TZOFFSETTO:-0500
TZOFFSETFROM:-0400
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=11;BYDAY=1SU
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19710101T020000
TZOFFSETTO:-0400
TZOFFSETFROM:-0500
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VTIMEZONE
TZID:(GMT+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
BEGIN:STANDARD
DTSTART:19710101T030000
TZOFFSETTO:+0100
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19710101T020000
TZOFFSETTO:+0200
TZOFFSETFROM:+0100
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:311cff36-3b5c-4bda-bd8c-74398355ba9c
SUMMARY:ABRT presentation: second time
LOCATION:Red Room - BRQ
ATTENDEE;CN=Brno office - Czech Republic;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS
 -ACTION;RSVP=TRUE:mailto:...cut...
ATTENDEE;CN=Red Room - BRQ;CUTYPE=RESOURCE;ROLE=NON-PARTICIPANT;PARTSTAT=NEE
 DS-ACTION;RSVP=TRUE:mailto:...cut...
ORGANIZER;CN=Daniel Novotny:mailto:...cut...
DTSTART;TZID="(GMT+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vie
 nna":20090819T140000
DTEND;TZID="(GMT+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vienn
 a":20090819T150000
STATUS:CONFIRMED
CLASS:PUBLIC
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
X-MICROSOFT-DISALLOW-COUNTER:TRUE
DTSTAMP:20090818T093616Z
SEQUENCE:0
DESCRIPTION:The following is a new meeting request:\n\nSubject: ABRT present
 ation: second time \nOrganizer: \"Daniel Novotny\" <...cut...> \n\
 nLocation: Red Room - BRQ \nResources: Red Room - BRQ (Site: BRQ\, Floor: 2)
  \nTime: Wednesday\, August 19\, 2009\, 2:00:00 PM - 3:00:00 PM GMT +01:00 A
 msterdam / Berlin / Bern / Rome / Stockholm / Vienna\n \nInvitees: \"Brno of
 fice - Czech Republic\" <...cut...> \n\n*~*~*~*~*~*~*~*~*~*\n\nhe
 llo\,\nfor those of you who unfortunately didn't fit in the ABRT presentatio
 n last week\,\nthere will be another one this Wednesday.\ntopics:\n- main pu
 rpose of ABRT\n- internal architecture\n- plugins\n- how can you help with t
 esting\n
X-ALT-DESC;FMTTYPE=text/html:<html><body><h3>The following is a new meeting 
 request:</h3>\n\n<p>\n<table border='0'>\n<tr><th align=left>Subject:</th><t
 d>ABRT presentation: second time </td></tr>\n<tr><th align=left>Organizer:</
 th><td>\"Daniel Novotny\" &lt\;...cut...&gt\; </td></tr>\n</table>
 \n<p>\n<table border='0'>\n<tr><th align=left>Location:</th><td>Red Room - B
 RQ </td></tr>\n<tr><th align=left>Resources:</th><td>Red Room - BRQ (Site: B
 RQ\, Floor: 2) </td></tr>\n<tr><th align=left>Time:</th><td>Wednesday\, Augu
 st 19\, 2009\, 2:00:00 PM - 3:00:00 PM GMT +01:00 Amsterdam / Berlin / Bern 
 / Rome / Stockholm / Vienna\n </td></tr></table>\n<p>\n<table border='0'>\n<
 tr><th align=left>Invitees:</th><td>\"Brno office - Czech Republic\" <...cut...
 > </td></tr></table>\n<div>*~*~*~*~*~*~*~*~*~*</div><br>hello\
 ,<br>for those of you who unfortunately didn't fit in the ABRT presentation 
 last week\,<br>there will be another one this Wednesday.<br>topics:<br>- mai
 n purpose of ABRT<br>- internal architecture<br>- plugins<br>- how can you h
 elp with testing<br></body></html>
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;RELATED=START:-PT5M
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR
------=_Part_33925_273135229.1250588176899--
Comment 1 Allen Winter 2009-08-23 14:57:22 UTC
I am unable to reproduce this.

Are you sure you have all the income.* subdirs in .kde/share/apps/korganizer?
Writable by you?  I wonder if your income.* subdirs are screwedup somehow.
Comment 2 Javier Ruere 2009-08-24 01:09:43 UTC
I can reproduce it every time. The dirs are there. What can I provide to help?
Comment 3 fabiomargarido 2009-08-25 17:36:04 UTC
Hi there,

I have the exact same problem. My company's meeting invitations worked OK with korganizer, but at some point during the 4.X series (I can't pinpoint exactly when) they started to show this issue.
This is a sample invitation which also shows the situation. Let me know if I can provide any more info.
Thanks

BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for Microsoft Exchange
VERSION:2.0
BEGIN:VTIMEZONE
TZID:(GMT-03.00) Brasilia
X-MICROSOFT-CDO-TZID:8
BEGIN:STANDARD
DTSTART:16010101T230000
TZOFFSETFROM:-0200
TZOFFSETTO:-0300
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=2;BYDAY=2SA
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T230000
TZOFFSETFROM:-0300
TZOFFSETTO:-0200
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=3SA
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20090825T134807Z
DTSTART;TZID="(GMT-03.00) Brasilia":20090826T160000
SUMMARY:Análise modificações
UID:{E248E01C-DC8C-418C-BC5C-D7E35BFF4FC1}
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Fabio Mar
 garido":MAILTO:aaa@yyy.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Angela Ka
 tayama":MAILTO:bb@yyy.com
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Eduardo T
 essarioli":MAILTO:ccc@yyy.com
ATTENDEE;ROLE=OPT-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Claudia M
 ariscal":MAILTO:ddd@yyy.com
ATTENDEE;ROLE=OPT-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Denis Ara
 ntes":MAILTO:eee@yyy.com
ORGANIZER;CN="Leonardo Mariote":MAILTO:fff@yyy.com
LOCATION:Sala 3
DTEND;TZID="(GMT-03.00) Brasilia":20090826T170000
DESCRIPTION:\N\NMudança de horário\, motivada pela viagem do Eduardo e do
  Denis\N\N
SEQUENCE:9
PRIORITY:5
CLASS:
CREATED:20090824T222328Z
LAST-MODIFIED:20090825T134807Z
STATUS:CONFIRMED
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-OWNERAPPTID:-1
X-MICROSOFT-CDO-APPT-SEQUENCE:9
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20090824T222335Z
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20090825T134807Z
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT00H15M00S
END:VALARM
END:VEVENT
END:VCALENDAR
Comment 4 Jaroslav Reznik 2009-09-07 11:53:19 UTC
I can reproduce it too, it was working some time ago as fabiomargarido already pointed out.
Comment 5 Allen Winter 2009-10-08 01:14:06 UTC
We are unable to reproduce this in KDE 4.3.2.  Several of us tried.

I don't know of anything that changed in KOrganizer that would have caused the bug nor fixed the bug.  Current thinking is a change in the way KMail deals with certain types of encoded attachments.

So... if anyone using 4.3.2 can verify that this bug is fixed or not-fixed, I'd appreciate some feedback.
Comment 6 Allen Winter 2009-10-08 01:17:44 UTC
*** Bug 205264 has been marked as a duplicate of this bug. ***
Comment 7 kavol 2009-10-08 12:35:44 UTC
(In reply to comment #1)
> Are you sure you have all the income.* subdirs in .kde/share/apps/korganizer?
> Writable by you?  I wonder if your income.* subdirs are screwedup somehow.

oops, sorry, forgot to answer that everything (income.accepted, income.cancel, income.counter, income.delegated, income.reply, income.tentative) is writable by the user (not even any SELinux policy comes to play)

(In reply to comment #5)
> So... if anyone using 4.3.2 can verify that this bug is fixed or not-fixed, I'd
> appreciate some feedback.

don't have KDE 4.3.2 now, nor the time to compile from sources myself :-(

Jaroslav ^ said he should have it available in no more than one week, so he should be able to let you know (ping if it gets stale)

- thanks for the patience
Comment 8 Jaroslav Reznik 2009-10-12 15:31:40 UTC
(In reply to comment #5)

> So... if anyone using 4.3.2 can verify that this bug is fixed or not-fixed, I'd
> appreciate some feedback.

Still no success with 4.3.2 from Fedora's packages. I asked Rex Dieter if we have any custom patches but he don't think so.
Comment 9 Jaroslav Reznik 2009-10-12 16:06:05 UTC
Hmm, we have just discovered one condition to reproduce it successfully. It's reproducible only when KOrganizer is not running - you click "Accept" in KMail, then KOrganizer is started and message box appears. If KOrganizer is already running it's just accepted and added to the calendar.
Comment 10 Piotr 'piter' Hlawski 2009-10-29 08:24:02 UTC
The same situation on my KDE 4.3.2 (Arch Linux packages). Korganier is in tray so I assume that it is running. Invitation was sent via Microsoft Exchange. When I've clicked on "accept" I've got the same message that "KOrganizer messageText is empty, unable to parse into a ScheduleMessage", but it seems that reply was sent back because I can find it in "sent" folder. I can still click in "sent" message on "Add to my calendar" but the problem still remains - invitation is not scheduled in my calendar.
Comment 11 Sérgio Durigan Júnior 2009-11-06 22:43:26 UTC
(In reply to comment #9)
> Hmm, we have just discovered one condition to reproduce it successfully. It's
> reproducible only when KOrganizer is not running - you click "Accept" in KMail,
> then KOrganizer is started and message box appears. If KOrganizer is already
> running it's just accepted and added to the calendar.

Hi,

Sorry about the delay.  Indeed, I can confirm that when KOrganizer is running, the bug does not happen.  However, I think it's a "nasty" way of getting this bug solved, don't you agree?  Do you plan to fix it so that even if KOrganizer is not running it correctly accepts the invitation?

Thank you.
Comment 12 Sérgio Durigan Júnior 2009-11-06 22:46:35 UTC
(In reply to comment #10)
> The same situation on my KDE 4.3.2 (Arch Linux packages). Korganier is in tray
> so I assume that it is running. Invitation was sent via Microsoft Exchange.
> When I've clicked on "accept" I've got the same message that "KOrganizer
> messageText is empty, unable to parse into a ScheduleMessage", but it seems
> that reply was sent back because I can find it in "sent" folder. I can still
> click in "sent" message on "Add to my calendar" but the problem still remains -
> invitation is not scheduled in my calendar.

Hello Piotr,

I was thinking like you, that when the KOrganizer icon is on the system tray, then it means that it's running.  However, that's not true, and you can do a simple test to confirm:  start manually KOrganizer (using ALT + F2, for example), don't close it, and then try to accept the invitation.  Probably it is going to work.

Anyway, as I said in the last message, I still think the bug needs to be fixed for the case when KOrganizer is not running.

Regards.
Comment 13 Fernando Toledo 2010-01-06 19:53:49 UTC
(In reply to comment #9)
> Hmm, we have just discovered one condition to reproduce it successfully. It's
> reproducible only when KOrganizer is not running - you click "Accept" in KMail,
> then KOrganizer is started and message box appears. If KOrganizer is already
> running it's just accepted and added to the calendar.

i can confirm this behavior using lxde (with kmail from kde 4.3.2) on debian testing
i click first time (when korganizer not running) and get the error
then , click 2th time (korganizer is running) and the event is added to the calendar.

im using akonadi
maybe akonadi is fail?
i get this console log (running for the terminal) how to can i increment this debug level?

 ragnarok ~/.kde/share/apps/korganizer $ kmail
ragnarok ~/.kde/share/apps/korganizer $ kmail(9966)/libakonadi Akonadi::SessionPrivate::dataReceived: Server protocol version is: 15
kmail(9966)/libakonadi Akonadi::SessionPrivate::dataReceived: Server protocol version is: 15
kmail(9966)/libakonadi PluginRegistry::PluginRegistry: ItemSerializerPluginLoader:  found 9 plugins.
kmail(9966)/libakonadi Akonadi::ItemSerializer::pluginForMimeType: Did not find exactly matching serializer plugin for type "application/x-vnd.akonadi.calendar.event" , taking "text/calendar" as the closest match
kmail(9966)/libakonadi Akonadi::SessionPrivate::dataReceived: Server protocol version is: 15
Enchant dict for "es" 0xa55b640 
kmail(9966)/libakonadi Akonadi::SessionPrivate::dataReceived: Server protocol version is: 15
Comment 14 Fernando Toledo 2010-04-29 18:12:56 UTC
how to provide more info to help to solved?
is anybody working on this bug?
thanks!
Comment 15 George Seaton 2010-05-12 02:57:35 UTC
This appears to happen in Fedora RPMs 4.4.2
Comment 16 Fernando Toledo 2011-10-01 18:56:11 UTC
2 years and this bugs was not fixed
how to can i provide mor info to help to resolve?
Comment 17 Andrew Crouthamel 2018-09-22 01:56:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 18 Andrew Crouthamel 2018-10-27 02:22:27 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!