allDay field in QOrganizerEvent/ Event QML item is not being saved to EDS
Bug #1265953 reported by
Kunal Parmar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calendar App |
Fix Released
|
High
|
Unassigned | ||
qtorganizer5-eds (Ubuntu) |
Fix Released
|
Undecided
|
Renato Araujo Oliveira Filho |
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.createQmlObj
event.startDateTime = startDate;
event.endDateTime = endDate;
event.displayLabel = titleEdit.text;
event.allDay = allDayEventChec
eventModel.
When I retrieve this event from model, the allDay event property is always false.
[1] http://
Related branches
lp:~renatofilho/qtorganizer5-eds/fix-1265953
- Bill Filler (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Gustavo Pichorim Boiko (community): Approve
-
Diff: 121 lines (+52/-6)2 files modifiedqorganizer/qorganizer-eds-engine.cpp (+13/-6)
tests/unittest/event-test.cpp (+39/-0)
lp:~pkunal-parmar/ubuntu-calendar-app/AllDayEventMR
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Renato Araujo Oliveira Filho (community): Approve
- Ubuntu Calendar Developers: Pending requested
-
Diff: 656 lines (+303/-70)12 files modifiedAllDayEventComponent.qml (+155/-0)
DayView.qml (+3/-2)
EventDetails.qml (+21/-1)
GlobalEventModel.js (+2/-2)
NewEvent.qml (+42/-1)
TimeLineBase.qml (+1/-1)
TimeLineBaseComponent.qml (+58/-45)
TimeLineHeader.qml (+6/-7)
TimeLineHeaderComponent.qml (+7/-8)
ViewType.js (+4/-0)
WeekView.qml (+3/-2)
calendar.qml (+1/-1)
Changed in ubuntu-calendar-app: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in qtorganizer5-eds (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
Changed in qtorganizer5-eds (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-calendar-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi,
I checked latest EDS branch and now its saving "addDay" flags fine if we set it.
But recently we had Hack Days and when it EDS synced google cal events.
Its showing time as below.
startDateTime: Fri Jan 24 2014 13:00:00 GMT+0900 (KST)
endDateTime: Thu Jan 30 2014 15:00:00 GMT+0900 (KST)
But allDay flag is false. I think in this case it should set allDay flag to true.
allDay:false
Full event details is as below /plus.google. com/events/ c0520orfeijkqfn 8vme4annfj7c QtOrganizer: :QDeclarativeOr ganizerItemRecu rrence( 0xa698d48) qtorganizer: eds::1381841023 .3278.2@ <email address hidden> qtorganizer: eds: qtorganizer: eds::1381841023 .3278.2@ kunal-sammy :read: Unable to handle unregistered datatype 'QDeclarativeOr ganizerItemPrio rity::Priority' for property 'QtOrganizer: :QDeclarativeOr ganizerEvent: :priority'
-------
description:View event in Google+: https:/
recurrence:
guid:<email address hidden>
displayLabel:Ubuntu Core Apps Hack Days
modified:false
itemId:
manager:
location:
objectName:
allDay:false
collectionId:
attendees:[object Object]
QMetaProperty:
priority:undefined
endDateTime:Thu Jan 30 2014 15:00:00 GMT+0900 (KST)
startDateTime:Fri Jan 24 2014 13:00:00 GMT+0900 (KST)
itemDetails:[object Object] :read: Unable to handle unregistered datatype 'QDeclarativeOr ganizerItemType ::ItemType' for property 'QtOrganizer: :QDeclarativeOr ganizerEvent: :itemType'
QMetaProperty:
itemType:undefined