This bug was fixed in the package qtpim-opensource-src
5.0~git20140515~29475884-0ubuntu11.1~overlay4 in https://launchpad.net
/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay

---------------

qtpim-opensource-src (5.0~git20140515~29475884-0ubuntu11.1~overlay4)
vivid; urgency=medium

  * debian/patches/QtOrganizer-fix-date-only-value-handling-to-avoid-UT.patch:
    - A patch for all day event returning wrong value (LP: #1462989)

 -- Timo Jyrinki <timo-jyri...@ubuntu.com>  Mon, 30 Nov 2015 12:30:05
+0000


** Changed in: qtpim-opensource-src (Ubuntu RTM)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtpim-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1462989

Title:
  containsItems returned wrong value when checking all day event

Status in Canonical System Image:
  In Progress
Status in qtpim-opensource-src package in Ubuntu:
  New
Status in qtpim-opensource-src package in Ubuntu RTM:
  Fix Released

Bug description:
  Related issue to 
  https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1437305

  For all day event(startTime == endTime), if all day event created at 
2015-06-08
  so src/imports/organizer/qdeclarativeorganizermodel.cpp[line:966]
      QList<bool> QDeclarativeOrganizerModel::containsItems(const QDateTime 
&start, const QDateTime &end, int interval)
     {
      ....
      ....
      startTime = item->itemStartTime();  //(2015-06-08  00:00:00.000)
      endTime = item->itemEndTime();      //(2015-06-08  00:00:00.000)

      // if dateTime.at(i) == (2015-06-07  00:00:00.000), it will return true, 
actually which would return false since all day event should occur at 
2015-06-08 after this line 
      if (!endTime.isNull() && endTime > dateTime.at(i) && endTime <= 
dateTime.at(i + 1)) {
            occupiedTimeSlots[i] = true;
             break;
      }

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1462989/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to