tracker issue : CF-4199172

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

Error on getUserAvailability

| View in Tracker

Status/Resolution/Reason: To Fix//EnhancementRequired

Reporter/Name(from Bugbase): Aidrich Frazier / Aidrich Frazier ()

Created: 07/20/2017

Components: CFExchange, Calendar

Versions: 11.0

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: ? /

Priority/Frequency: Normal / Some users will encounter

Locale/System: / Win 2012 Server x64

Vote Count: 0

Problem Description: when trying to use action="getUserAvailability", I receive the following error: The time duration specified for FreeBusyViewOptions.TimeWindow is invalid.

Steps to Reproduce:
Example:
<cfexchangecalendar action="getuseravailability" connection="myConnection" startdate="#now()#" enddate="#DateAdd("n",15,now())#" attendees="myUser" dataRequestType="freeBusyandSuggestions" name="Availability">

Actual Result: Stack Trace belowError - The time duration specified for FreeBusyViewOptions.TimeWindow is invalid.

Expected Result: return availability

Any Workarounds: no


Stack Trace:

					coldfusion.exchange.webservice.EWSException: Could not get the availability details for the attendees [myUser]. 
	at coldfusion.exchange.webservice.EWSConnection.getUserAvailability(EWSConnection.java:2711)
	at coldfusion.tagext.net.exchange.CalendarTagHelper.getUserAvailability(CalendarTagHelper.java:835)
	at coldfusion.tagext.net.exchange.ExchangeCalendarTag.doEndTag(ExchangeCalendarTag.java:428)
	at cftest2ecfm1304705726.runPage(C:\inetpub\wwwroot\v5\test.cfm:21)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246)
	at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572)
	at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
	at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:487)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:142)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
	at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
	at coldfusion.CfmServlet.service(CfmServlet.java:219)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:437)
	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:197)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Unknown Source)

Attachments:

Comments:

Aidrich, I am not able to observe the invalid date error. Which version of CF are you using? What is the update level of your server? Which version of MS exchange server are you connecting to?
Comment by Piyush K.
500 | August 08, 2017 02:27:07 PM GMT
Hi Piyush, CF Version: 11,0,07,296330 CF Last Update: ColdFusion 11 Update 7 MS Exchange: 2010 We are behind in CF updates, but I didn't see anything in the update docs suggesting an impact on CFExchange tags. I'm connecting to Microsoft's Office365 exchange server. Help topics I've found show it to be 2010. I've tried changing it to 2013 with the same result. Thanks, Aidrich
Comment by Aidrich F.
501 | August 08, 2017 02:41:11 PM GMT
changing this to an Enhancement Request. We have not certified Office exchange 365, yet.
Comment by Piyush K.
502 | August 11, 2017 08:23:20 AM GMT