I’m using a custom module to modify linked calendar events with the onBeforeSync handler and for most of the fields it is working fine. However, when I modify $buffer[‘summary’] I still have a blank summary field when I open the imported event in the backend. Changes to other fields are working correctly, and when I use debugLog to show the contents of $buffer[‘summary’] after I have made the changes the expected value is there. It is just once I look at the imported event that the change seems to be lost. Not sure what to do next - I even tried dancing backward on one foot in a circle around the computer to no avail, although I haven’t gone so far as to sprinkle chicken blood as I do so, mostly because that is so messy…
Testing confirms that the summary field is imported correctly if the event is newly created for the first time. But it does not update the summary field for events that already exist and are being updated.
I think that’s a bug unless it is supposed to be that way (and is therefore considered a ‘feature’), but I don’t like it…
Ah yes, sorry for the confusion there – any fields that don’t have a “Customize” checkbox only get checked when an event is first created (this include Summary, Categories, Tags, and any Custom Fields). This is so you can still overwrite any values on a per-event basis after sync.
Some folks use a custom module (for specific feeds, or site-wide) to always-sync a field like summary every hour if they know they’re going to always use the Feed value and not need to override it in LiveWhale. Here’s an example of that kind of code: