← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1265953] [NEW] allDay field in QOrganizerEvent/ Event QML item is not being saved to EDS

 

Public bug reported:

allDay[1] field in QOrganizerEvent/ Event QML item is not being saved to
EDS

Following is code from Calendar, which I am using to save event to EDS,
var event = Qt.createQmlObject("import QtOrganizer 5.0; Event { }", Qt.application,"NewEvent.qml");
event.startDateTime = startDate;
event.endDateTime = endDate;
event.displayLabel = titleEdit.text;

event.allDay = allDayEventCheckbox.checked;

eventModel.saveItem(event);

When I retrieve this event from model, the allDay event property is
always false.

[1] http://doc.qt.digia.com/qtmobility/qml-event.html#allDay-prop

** Affects: qtorganizer5-eds (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtorganizer5-eds in Ubuntu.
https://bugs.launchpad.net/bugs/1265953

Title:
  allDay field in QOrganizerEvent/ Event QML item is not being saved to
  EDS

Status in “qtorganizer5-eds” package in Ubuntu:
  New

Bug description:
  allDay[1] field in QOrganizerEvent/ Event QML item is not being saved
  to EDS

  Following is code from Calendar, which I am using to save event to EDS,
  var event = Qt.createQmlObject("import QtOrganizer 5.0; Event { }", Qt.application,"NewEvent.qml");
  event.startDateTime = startDate;
  event.endDateTime = endDate;
  event.displayLabel = titleEdit.text;

  event.allDay = allDayEventCheckbox.checked;

  eventModel.saveItem(event);

  When I retrieve this event from model, the allDay event property is
  always false.

  [1] http://doc.qt.digia.com/qtmobility/qml-event.html#allDay-prop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtorganizer5-eds/+bug/1265953/+subscriptions


Follow ups

References