[Korganizer-devel] [Bug 158801] all-day events imported from OpenGroupware ignored

Johannes Ballé os at xn--ball-epa.net
Fri Apr 18 10:26:04 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=158801         
os xn--ball-epa net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djarvie kde org



------- Additional Comments From os xn--ball-epa net  2008-04-18 10:26 -------
After some experimentation, I found out that the custom entry

X-MICROSOFT-CDO-ALLDAYEVENT:TRUE

is the culprit. The corresponding lines are around libkcal/icalformatimpl.cpp:1038:

----------------
  QString msade = event->nonKDECustomProperty("X-MICROSOFT-CDO-ALLDAYEVENT");
  if (!msade.isNull()) {
    bool floats = (msade == QString::fromLatin1("TRUE"));
//    kdDebug(5800) << "ICALFormat::readEvent(): all day event: " << floats << endl;
    event->setFloats(floats);
    if (floats) {
      QDateTime endDate = event->dtEnd();
      event->setDtEnd(endDate.addDays(-1));
    }
  }
----------------

committed by David Jarvie.

The code obviously moves the end date back one day, which makes one-day-appointments disappear completely.

Excellent. A proprietary "amendment" to an open standard by Microsoft causes incompatibility between two entirely open source software components ...


More information about the Korganizer-devel mailing list