tracker issue : CF-4204934

select a category, or use search below
(searches all categories and all time range)
Title:

cfexchangecalendar adding extra days to event when using AllDayEvent set to yes.

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Roberto A. / ()

Created: 08/05/2019

Components: CFExchange, Calendar

Versions: 2018

Failure Type: Data Corruption

Found In Build/Fixed In Build: ColdFusion 11 and ColdFusion 2018. /

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Win 2016

Vote Count: 0

When using cfexchangecalendar to setup an all day event, the event gets setup with extra days added to it.

Sample setup:

<cfset local.event.Message = "Event Message">
<cfset local.event.Subject = "Event Subject">
<cfset local.event.AllDayEvent = "yes">
<cfset local.event.StartTime = createDateTime(2019, 8, 5, 0, 0, 0)>
<cfset local.event.EndTime = createDateTime(2019, 8, 5, 0, 0, 0)>

The event above gets setup on Exchange from August 4 2019 - August 7 2019. Timezone also gets changed.

Workaround is to set AllDayEvent to "no" and EndTime to 1 day in the future. To make above work, change to:

<cfset local.event.Message = "Event Message">
<cfset local.event.Subject = "Event Subject">
<cfset local.event.AllDayEvent = "no">
<cfset local.event.StartTime = createDateTime(2019, 8, 5, 0, 0, 0)>
<cfset local.event.EndTime = createDateTime(2019, 8, 6, 0, 0, 0)>

Attachments:

Comments:

Roberto, Can you pls try using the timezone attribute in the event struct, as advised in CF-4204933, to see if that fixes the issue.
Comment by Piyush K.
32062 | December 19, 2019 07:33:15 PM GMT
Roberto, Can you pls. try the suggestion mentioned in my previous comment and revert with the results.
Comment by Piyush K.
33218 | March 02, 2020 11:28:59 AM GMT
Thank you Piyush. I posted this in August 2019 and have since moved on to use Microsoft graph API.
Comment by Roberto A.
33228 | March 02, 2020 04:26:27 PM GMT
looks like a duplicate of CF-4204933. closing this since the user is unable to confirm. Thanks for reverting, Roberto.
Comment by Piyush K.
33267 | March 09, 2020 07:43:06 AM GMT