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: Open//

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: