I’ve commented out the
// Flush Cache to Disk
// #
// # Reload just the event you’ve changed in the calendar.
// Perform Script [ “Calendar Update Event (event_id)” ; Parameter: $id ]
at the bottom of soSIMPLE Calendar Actions and this seems to have solved it. I think I may have had the Calendar Update Event script running twice. Once within my soSIMPLE Save/Delete BUTTON script on my event layout using my $$ID_FOR_REFRESH and then again within soSIMPLE Simple Actions.
Anyway, seems to be ok now so will come back to you if I have any more issues. Cheers.
Calendar is hosted and integrated into my own solution. I’ve done a bit more testing and I think the problem is actually being caused when the Calendar Update Event (event_id) script is called. I’ve modified the soSIMPLE Calendar Actions script so that different event layouts are used depending on the type of event being opened. I’ve then set the event_id to a global variable, $$ID_FOR_REFRESH so that when I click my Close Event button which runs a Close Event script I can call Calendar Update Event ($$ID_FOR_REFRESH) to just refresh the event that has been modified. I also get the same error when I drag an event to a different resource or drag to change length or start time of event. Running the Refresh Calendar ([calendar_id]) script then reloads the resources as I would expect to see them.