← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1274792] Re: After adding event with Recurrence Field itemIds() API is not returning proper events

 

This bug was fixed in the package qtorganizer5-eds -
0.1.1+14.04.20140213-0ubuntu1

---------------
qtorganizer5-eds (0.1.1+14.04.20140213-0ubuntu1) trusty; urgency=low

  [ Renato Araujo Oliveira Filho ]
  * Fixed item it to contains the recurrence it. Correct parse for
    recurrence items to create the QOrganizerTodoOccurrence or
    QOrganizerEventOccurrence. This allow us to remove/edit a specific
    item in recurrence items. (LP: #1274792)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Thu, 13 Feb 2014 19:22:33 +0000

** Changed in: qtorganizer5-eds (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released

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


References