The uid that's built on line 903 of calendar.module includes the position of the item in the array of selected dates by appending the $pos. This means that over time the uid of an event changes, which specifically is against the ICAL RFC. It can be fixed by just removing the append of $pos.

This breaks the ability to import the ical into another drupal site on a regular basis using feeds, which will just stack up duplicates over time. I've been hunting this down for the last six months, and just got to the bottom of it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sdague’s picture

Title: UID changes for items over time » [PATCH] UID changes for items over time
Status: Active » Needs review
FileSize
1.13 KB

Attached is a patch that fixes this on 6.x-2.x branch. I'd very much appreciate if this was included in the module.

Neslee Canil Pinto’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

The D6 branch is no longer supported so we're closing this issue. If you think this issue still exists in D7 you can open a new one.