View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000631 | v2.2 Release (Closed) | [All Projects] General | public | 2010-11-20 02:49 | 2010-12-19 13:19 | ||||
Reporter | opto | ||||||||
Assigned To | caseydk | ||||||||
Priority | high | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | 2.2 | |||||||
Summary | 0000631: Thunderbird cannot display ical feed, incl. patch | ||||||||
Description | task start and task end have the same UID -> no display in TB. see http://forums.web2project.net/viewtopic.php?p=8036#8036 | ||||||||
Additional Information | patch: === verändert Datei classes/w2p/API/iCalendar.class.php --- classes/w2p/API/iCalendar.class.php 2010-11-20 11:28:25 +0000 +++ classes/w2p/API/iCalendar.class.php 2010-11-20 11:41:08 +0000 @@ -20,7 +20,7 @@ public static function formatCalendarItem($calendarItem, $module_name) { global $AppUI; $name = $calendarItem['name']; - $uid = $module_name.'_'.$calendarItem['id']; + if (isset( $calendarItem['UID'] )) $uid= $calendarItem['UID']; else $uid = $module_name.'_'.$calendarItem['id']; $description = ''; $attachments = ''; === verändert Datei modules/tasks/tasks.class.php --- modules/tasks/tasks.class.php 2010-11-20 11:28:25 +0000 +++ modules/tasks/tasks.class.php 2010-11-20 11:41:08 +0000 @@ -2272,8 +2272,8 @@ //TODO: A user should be able to select if they get distinct start/end dates or two tasks for each task. foreach ($taskList as $taskItem) { //$taskArray[] = $taskItem; - $taskArray[] = array_merge($taskItem, array('endDate' => $taskItem['startDate'], 'name' => 'Start: ' . $taskItem['name'])); - $taskArray[] = array_merge($taskItem, array('startDate' => $taskItem['endDate'], 'name' => 'End: ' . $taskItem['name'])); + $taskArray[] = array_merge($taskItem, array('endDate' => $taskItem['startDate'], 'name' => 'Start: ' . $taskItem['name'], 'UID' => 'tasks_'. $taskItem['id'] .'S')); + $taskArray[] = array_merge($taskItem, array('startDate' => $taskItem['endDate'], 'name' => 'End: ' . $taskItem['name'], 'UID' => 'tasks_'. $taskItem['id'] .'E')); } return $taskArray; | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|
opto (manager) 2010-11-20 04:06 Last edited: 2010-11-20 04:08 |
the following change in CTask->getTaskList sets the updatedDate of the VEVENT (DTSTAMP) to the last update date of the db entry, which makes more sense in my opinion. At the moment, the updateddate is the creation date of the ical feed. If we use the db updatedate instead, we can later use this for ical 2 way sync. // old $q->addQuery("'".$q->dbfnNowWithTZ()."'" . ' as updatedDate'); //get updatedDate from db $q->addQuery('task_updated as updatedDate'); |
caseydk (administrator) 2010-12-03 22:43 |
Resolved as described in r1510 & 1511 |
caseydk (administrator) 2010-12-19 13:19 |
In v2.2 release. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-11-20 02:49 | opto | New Issue | |
2010-11-20 04:06 | opto | Note Added: 0001354 | |
2010-11-20 04:08 | opto | Note Edited: 0001354 | |
2010-11-24 23:35 | caseydk | Project | v2.1 Release (Closed) => v2.2 Release (Closed) |
2010-11-24 23:46 | caseydk | Priority | normal => high |
2010-12-03 12:35 | caseydk | Status | new => assigned |
2010-12-03 12:35 | caseydk | Assigned To | => caseydk |
2010-12-03 22:43 | caseydk | Note Added: 0001394 | |
2010-12-03 22:43 | caseydk | Status | assigned => resolved |
2010-12-03 22:43 | caseydk | Resolution | open => fixed |
2010-12-19 13:19 | caseydk | Note Added: 0001456 | |
2010-12-19 13:19 | caseydk | Status | resolved => closed |
2010-12-19 13:19 | caseydk | Fixed in Version | => 2.2 |