ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #00409
[Bug 1274792] [NEW] After adding event with Recurrence Field itemIds() API is not returning proper events
Public bug reported:
After adding events with Recurrent field itemIds() API is not returning
proper events.
But If i restart calendar it shows proper events. Please find the logs
for both normal and abnormal case.
In not working case.
After adding recurring event.
EDS refresh the model and All recurring events are added with same start and end date with which original events was created.
Once this is done,
EDS is reloading the model again and this time it does not return any event for the original start and date time with which we created the event.
Please find log snippet below.
##################### Add event case (abnormal case)
######################
>>>>>>>>>>>>>>>>>>>> Calender instance is loaded here
$$$$$$$$$$$$$$$$$ Model reloaded....
intern.model.itemIds(startDate, endDate)
Start Date:Fri Jan 31 2014 00:00:00 GMT+0900 (KST)
End Date:Sat Feb 01 2014 00:00:00 GMT+0900 (KST)
itemIds length:0
>>>>>>>>>>>>>>>>>>>>> Adding recurrence event for 31 Jan
virtual bool QOrganizerEDSEngine::startRequest(QtOrganizer::QOrganizerAbstractRequest*)
void QOrganizerEDSEngine::saveItemsAsync(QtOrganizer::QOrganizerItemSaveRequest*)
...
static void QOrganizerEDSEngine::itemsAsyncStart(FetchRequestData*)
>>>>>>>>>> All recurrening events added to 31 Jan
$$$$$$$$$$$$$$$$$ Model reloaded....
intern.model.itemIds(startDate, endDate)
Start Date:Fri Jan 31 2014 00:00:00 GMT+0900 (KST)
End Date:Sat Feb 01 2014 00:00:00 GMT+0900 (KST)
itemIds length:48 <<<<<< 48 events are added to 31 Jan
++++++++++++ Event created:Recurrence 31
...
++++++++++++ Event created:Recurrence 31
>>>>>>>>>>>>> Something happed to EDS and model is refreshed
static void QOrganizerEDSEngine::itemsAsyncListed(ECalComponent*, time_t, time_t, FetchRequestData*)
...
static void QOrganizerEDSEngine::itemsAsyncStart(FetchRequestData*)
$$$$$$$$$$$$$$$$$ Model reloaded....
-------------- Event Destroyed:Recurrence 31
...
-------------- Event Destroyed:Recurrence 31
>>>>>>>>>>>>>>>>>>> 31 jan is returning now 0 events
intern.model.itemIds(startDate, endDate)
Start Date:Fri Jan 31 2014 00:00:00 GMT+0900 (KST)
End Date:Sat Feb 01 2014 00:00:00 GMT+0900 (KST)
itemIds length:0 <<<<<<<<<<<<<< now its returning 0 events for 31 jan
** Affects: qtorganizer5-eds (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "abnormal case"
https://bugs.launchpad.net/bugs/1274792/+attachment/3963794/+files/Recurrance_abnormal_case
--
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/1274792
Title:
After adding event with Recurrence Field itemIds() API is not
returning proper events
Status in “qtorganizer5-eds” package in Ubuntu:
New
Bug description:
After adding events with Recurrent field itemIds() API is not
returning proper events.
But If i restart calendar it shows proper events. Please find the
logs for both normal and abnormal case.
In not working case.
After adding recurring event.
EDS refresh the model and All recurring events are added with same start and end date with which original events was created.
Once this is done,
EDS is reloading the model again and this time it does not return any event for the original start and date time with which we created the event.
Please find log snippet below.
##################### Add event case (abnormal case)
######################
>>>>>>>>>>>>>>>>>>>> Calender instance is loaded here
$$$$$$$$$$$$$$$$$ Model reloaded....
intern.model.itemIds(startDate, endDate)
Start Date:Fri Jan 31 2014 00:00:00 GMT+0900 (KST)
End Date:Sat Feb 01 2014 00:00:00 GMT+0900 (KST)
itemIds length:0
>>>>>>>>>>>>>>>>>>>>> Adding recurrence event for 31 Jan
virtual bool QOrganizerEDSEngine::startRequest(QtOrganizer::QOrganizerAbstractRequest*)
void QOrganizerEDSEngine::saveItemsAsync(QtOrganizer::QOrganizerItemSaveRequest*)
...
static void QOrganizerEDSEngine::itemsAsyncStart(FetchRequestData*)
>>>>>>>>>> All recurrening events added to 31 Jan
$$$$$$$$$$$$$$$$$ Model reloaded....
intern.model.itemIds(startDate, endDate)
Start Date:Fri Jan 31 2014 00:00:00 GMT+0900 (KST)
End Date:Sat Feb 01 2014 00:00:00 GMT+0900 (KST)
itemIds length:48 <<<<<< 48 events are added to 31 Jan
++++++++++++ Event created:Recurrence 31
...
++++++++++++ Event created:Recurrence 31
>>>>>>>>>>>>> Something happed to EDS and model is refreshed
static void QOrganizerEDSEngine::itemsAsyncListed(ECalComponent*, time_t, time_t, FetchRequestData*)
...
static void QOrganizerEDSEngine::itemsAsyncStart(FetchRequestData*)
$$$$$$$$$$$$$$$$$ Model reloaded....
-------------- Event Destroyed:Recurrence 31
...
-------------- Event Destroyed:Recurrence 31
>>>>>>>>>>>>>>>>>>> 31 jan is returning now 0 events
intern.model.itemIds(startDate, endDate)
Start Date:Fri Jan 31 2014 00:00:00 GMT+0900 (KST)
End Date:Sat Feb 01 2014 00:00:00 GMT+0900 (KST)
itemIds length:0 <<<<<<<<<<<<<< now its returning 0 events for 31 jan
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtorganizer5-eds/+bug/1274792/+subscriptions
Follow ups
References