Page MenuHomePhorge

Error while trying to do a counterproposal
Closed, ResolvedPublic

Description

https://issues.kolab.org/show_bug.cgi?id=5284

  1. User 1 create event serie and invide attendee User 2
  2. User 2 get email in Windows FAT Client and open it
  3. User 2 chose "Bedint annehmen" a dialog open to add an comment (add comment an click Button OK)
  4. Error dialog open - see attachment(missing dialog to suggest a counterproposal)

Email will not be sent back to user 1

"Fehler: Fehler beim Bearbeiten des Ereignisses"

Details

Ticket Type
Task

Event Timeline

mollekopf raised the priority of this task from 60 to High.Mar 1 2016, 12:18 PM
mollekopf created this task.

Looks like this is not counterproposal but "Accept conditionally".

This seems to work when sending the invitation from roundcube, and selecting Kolab/Calendar as target calendar.

also works with a message from korganizer. All tested on linux.

vanmeeuwen moved this task from Backlog to Doing on the Sprint 201610 board.
vanmeeuwen subscribed.

This was in Doing for Sprint 201609 but unassigned, and has no story points either?

Confirmed to be a windows-only issue:

[2860] akonadi_baloo_indexer(2860)/kdecore (K*TimeZone*) class KSystemTimeZonesPrivate *cdecl KSystemTimeZonesPrivate::instance(void): instance(): ... initialised
[2860] akonadi_baloo_indexer(2860)/kdecore (K*TimeZone*) void
cdecl KSystemTimeZonesPrivate::readConfig(bool): readConfig(): local zone= "Europe/Berlin"
[2860] Found keyname: "Middle East Standard Time" with keypath: 0x3241b10 for zone: "Asia/Beirut" , or in Windows: "Middle East Standard Time"
[2860] akonadi_baloo_indexer(2860)/kdepimlibs (kcalcore) thiscall KCalCore::ICalTimeZoneData::ICalTimeZoneData(const class KTimeZoneData &,const class KTimeZone &,const class QDate &): No transition information available VTIMEZONE will be invalid.
[2528] kontact(2528)/kdecore (KConfigSkeleton) void
thiscall KCoreConfigSkeleton::writeConfig(void):
[2528] kontact(2528) class KMime::Content *cdecl partNodeFromXKMailUrl(const class KUrl &,class MessageViewer::ViewerPrivate *,class QString *): BodyPartURLHandler: urlPath == "/bodypart/1/2/accept_conditionally"
[2528] kontact(2528) class KMime::Content *
cdecl partNodeFromXKMailUrl(const class KUrl &,class MessageViewer::ViewerPrivate *,class QString *): BodyPartURLHandler: urlPath == "/bodypart/1/2/accept_conditionally"
[2528] kontact(2528) class KMime::Content *cdecl partNodeFromXKMailUrl(const class KUrl &,class MessageViewer::ViewerPrivate *,class QString *): BodyPartURLHandler: urlPath == "/bodypart/1/2/accept_conditionally"
[2528] kontact(2528) bool
cdecl `anonymous-namespace'::hasMyWritableEventsFolders(const class QString &): Disabled code, port to Akonadi
[2528] kontact(2528)/kdecore (K*TimeZone*) int thiscall KTimeZoneBackend::offsetAtZoneTime(const class KTimeZone *,const class QDateTime &,int *) const: -> No cache
[2528] kontact(2528) class QDateTime
thiscall KDateTimePrivate::toUtc(const class KTimeZone &) const: toUtc(): calculated -> QDateTime("Tue 8. Mar 06:00:00 2016")
[2528] OFFSET AT ZONE TIME
[2528] original time in zone time: QDateTime("Mon 7. Mar 10:56:09 2016")
[2528] Converted to system time: QDateTime("Mon 7. Mar 09:56:09 2016")
[2528] isDST false
[2528] effective offset 3600
[2528] secondOffset 0x46d1ec
[2528] plus 1 QDateTime("Mon 7. Mar 10:56:09 2016")
[2528] minus 1 QDateTime("Mon 7. Mar 08:56:09 2016")
[2528] zone plus 1 QDateTime("Mon 7. Mar 11:56:09 2016")
[2528] zone minus 1 QDateTime("Mon 7. Mar 09:56:09 2016")
[2528] utcconverted QDateTime("Mon 7. Mar 10:56:09 2016")
[2528] result 3600 second 3600
[2528] kontact(2528) class QDateTime thiscall KDateTimePrivate::toUtc(const class KTimeZone &) const: toUtc(): calculated -> QDateTime("Mon 7. Mar 09:56:09 2016")
[2528] kontact(2528) class KDateTime
thiscall KDateTime::toTimeSpec(const class KDateTime::Spec &) const: QDateTime("Mon 7. Mar 10:56:09 2016") "Europe/Berlin"
[2528] kontact(2528) class KDateTime thiscall KDateTime::toTimeSpec(const class KDateTime::Spec &) const: to timezone
[2528] kontact(2528) class QDateTime
thiscall KDateTimePrivate::toZone(const class KTimeZone &,const class KTimeZone &) const: converting value
[2528] kontact(2528) class KDateTime thiscall KDateTime::toTimeSpec(const class KDateTime::Spec &) const: QDateTime("Tue 8. Mar 07:59:59 2016") "Asia/Beirut"
[2528] kontact(2528) class KDateTime
thiscall KDateTime::toTimeSpec(const class KDateTime::Spec &) const: no change
[2528] kontact(2528) class QDateTime thiscall KDateTimePrivate::toZone(const class KTimeZone &,const class KTimeZone &) const: converting value
[2528] OFFSET AT ZONE TIME
[2528] original time in zone time: QDateTime("Mon 7. Mar 10:56:09 2016")
[2528] Converted to system time: QDateTime("Mon 7. Mar 09:56:09 2016")
[2528] isDST false
[2528] effective offset 3600
[2528] secondOffset 0x46d268
[2528] plus 1 QDateTime("Mon 7. Mar 10:56:09 2016")
[2528] minus 1 QDateTime("Mon 7. Mar 08:56:09 2016")
[2528] zone plus 1 QDateTime("Mon 7. Mar 11:56:09 2016")
[2528] zone minus 1 QDateTime("Mon 7. Mar 09:56:09 2016")
[2528] utcconverted QDateTime("Mon 7. Mar 10:56:09 2016")
[2528] result 3600 second 3600
[2528] kontact(2528) class QDateTime
thiscall KDateTimePrivate::toUtc(const class KTimeZone &) const: toUtc(): calculated -> QDateTime("Mon 7. Mar 09:56:09 2016")
[2528] kontact(2528) class KMime::Content *cdecl partNodeFromXKMailUrl(const class KUrl &,class MessageViewer::ViewerPrivate *,class QString *): BodyPartURLHandler: urlPath == "/bodypart/1/2/accept_conditionally"
[2528] kontact(2528) bool
thiscall `anonymous-namespace'::UrlHandler::handleInvitation(const class QString &,enum KCalCore::Attendee::PartStat,class MessageViewer::Interface::BodyPart *,class MessageViewer::Viewer *) const: "doe@example.org"
[2528] kontact(2528) bool thiscall `anonymous-namespace'::UrlHandler::handleInvitation(const class QString &,enum KCalCore::Attendee::PartStat,class MessageViewer::Interface::BodyPart *,class MessageViewer::Viewer *) const: Handling invitation: uid is : "B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918" ; schedulingId is: "B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918" ; Attendee::PartStat = 3
[2528] kontact(2528)/libakonadi void
thiscall Akonadi::ITIPHandler::processiTIPMessage(const class QString &,const class QString &,const class QString &): processiTIPMessage called with receiver= "doe@example.org" ; action= "tentative"
[2528] Found keyname: "Middle East Standard Time" with keypath: 0x57c3910 for zone: "Asia/Beirut" , or in Windows: "Middle East Standard Time"
[2528] kontact(2528)/kdepimlibs (kcalcore) thiscall KCalCore::ICalTimeZoneData::ICalTimeZoneData(const class KTimeZoneData &,const class KTimeZone &,const class QDate &): No transition information available VTIMEZONE will be invalid.
[2528] kontact(2528)/libakonadi void
thiscall Akonadi::ITIPHandler::processiTIPMessage(const class QString &,const class QString &,const class QString &): processiTIPMessage called with receiver= "doe@example.org" ; action= "tentative"
[2528] kontact(2528)/libakonadi void thiscall Akonadi::Scheduler::acceptTransaction(const class QSharedPointer<class KCalCore::IncidenceBase> &,const class QSharedPointer<class Akonadi::CalendarBase> &,enum KCalCore::iTIPMethod,enum KCalCore::ScheduleMessage::Status,const class QString &): method= "Request"
[2528] kontact(2528)/libakonadi void
thiscall Akonadi::Scheduler::acceptRequest(const class QSharedPointer<class KCalCore::IncidenceBase> &,const class QSharedPointer<class Akonadi::CalendarBase> &,enum KCalCore::ScheduleMessage::Status,const class QString &): status= "Unknown Status: 5" : found 1 incidences with schedulingID "B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918" ; uid was = "B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918"
[2528] kontact(2528)/libakonadi void thiscall Akonadi::Scheduler::acceptRequest(const class QSharedPointer<class KCalCore::IncidenceBase> &,const class QSharedPointer<class Akonadi::CalendarBase> &,enum KCalCore::ScheduleMessage::Status,const class QString &): Considering this found event ( readwrite ) : "BEGIN:VEVENT
[2528] ORGANIZER;CN="Doe, Jane":MAILTO:jane.doe@example.org
[2528] DTSTAMP:20160307T085537Z
[2528] ATTENDEE;CN="Doe, John";RSVP=TRUE;PARTSTAT=NEEDS-ACTION;
[2528] ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;X-UID=76350864:mailto:
[2528] john.doe@example.org
[2528] CREATED:20160307T085537Z
[2528] UID:B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918
[2528] LAST-MODIFIED:20160307T085537Z
[2528] SUMMARY:foo1
[2528] RRULE:FREQ=DAILY
[2528] DTSTART;TZID=Asia/Beirut:20160308T080000
[2528] DTEND;TZID=Asia/Beirut:20160308T083000
[2528] TRANSP:OPAQUE
[2528] END:VEVENT
[2528] BEGIN:VTIMEZONE
[2528] TZID:Asia/Beirut
[2528] END:VTIMEZONE
[2528] "
[2528] kontact(2528)/libakonadi void
thiscall Akonadi::Scheduler::acceptRequest(const class QSharedPointer<class KCalCore::IncidenceBase> &,const class QSharedPointer<class Akonadi::CalendarBase> &,enum KCalCore::ScheduleMessage::Status,const class QString &): replacing existing incidence "B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918"
[2528] kontact(2528)/libakonadi class Akonadi::Item thiscall Akonadi::CalendarBasePrivate::item(const class QString &) const: Can't find any incidence with uid "22B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918"
[2528] kontact(2528)/libakonadi int
thiscall Akonadi::IncidenceChanger::modifyIncidence(const class Akonadi::Item &,const class QSharedPointer<class KCalCore::Incidence> &,class QWidget *): An invalid item or payload is not allowed.
[2528] kontact(2528) bool __thiscall `anonymous-namespace'::UrlHandler::saveFile(const class QString &,const class QString &,const class QString &) const: ITIPHandler result was 0
[2528] kontact(2528): Error while processing invitation: "Error: Error modifying incidence"

mollekopf merged a task: Restricted Maniphest Task.Mar 7 2016, 10:03 AM
mollekopf added a subscriber: knauss.

Akonadi::CalendarBasePrivate::item(const class QString &) const: Can't find any incidence with uid "22B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918"

This means we are looking for the event B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918 in storage collection 22, but apparently can't find it.

The problem is probably with events automatically being added to the calendar (by wallace). MemoryCalendar::rawIncidences() yields a result, yet the event can't be found in mItemIdByUniqueInstanceIdentifier.

Also reproducible on linux when using kontact and waiting for the message to arrive first.

mollekopf moved this task from Backlog to Review on the Sprint 201610 board.

Fixed in kdepimlibs 4.13.0.9