Title:
Bug 82791:(Watson Migration Closure)I am trying to get contacts from within a subfolder of my contacts in MS Exchange
| View in TrackerStatus/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Glen Rainbird / Glen Rainbird (rainbird)
Created: 05/02/2010
Components: CFExchange
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Minor / Unknown
Locale/System: English / Win All
Vote Count: 4
Problem:
I am trying to get contacts from within a subfolder of my contacts in MS Exchange. BTW I tried this on CF8 initially and then CF9 to see if it had been fixed,.- I can connect to the exchange server hosting my mailbox.- I can get the subfolder within my 'Contacts' using action=getSubfolders.- I CANNOT get my contacts (as contacts) within the subfolder.Using the documentation it seems as though the correct way to get items from a subfolder within 'Contacts' should be:<cfexchangecontact action="get" name="qryContacts" connection="excConn"><cfexchangefilter name="folder" value="Contacts/My SubFolder"></cfexchangecontact>However this throws an error because 'folder' is an invalid value for the 'name' parameter for the cfexchangefilter when used with cfexchangecontact.What is odd is I can get the contacts within the 'Contacts/MySubFolder' when using cfexchangemail i.e.<cfexchangemail action="get" name="qryContacts" connection="excConn"><cfexchangefilter name="folder" value="Contacts/My SubFolder"></cfexchangemail>But these are returned as 'meetings' NOT 'contacts'.At the moment I feel as though this is an incomplete feature of ColdFusion.
Method:
<cfexchangeconnection action="open" connection="excConn" server="#request.sExchangeServer#" protocol="http" username="global\#request.username#" password="#request.password#"><cfexchangecontact action="get" name="qryResult" connection="excConn"><cfexchangefilter name="folder" value="Contacts/My Subfolder"></cfexchangecontact>Result > Error thrown.<cfexchangeconnection action="open" connection="excConn" server="#request.sExchangeServer#" protocol="http" username="global\#request.username#" password="#request.password#"><cfexchangemail action="get" name="qryResult" connection="excConn"><cfexchangefilter name="folder" value="Contacts/My Subfolder"></cfexchangemail>Result > Returns contacts as Meetings and therefore no 'contact' properties.
Result:
folder is an invalid filter attribute for the cfexchangecontact tag.
coldfusion.tagext.net.exchange.ExchangeExceptions$InvalidFilterAttributeKeyException: folder is an invalid filter attribute for the cfexchangecontact tag.
at coldfusion.tagext.net.exchange.ExchangeExceptions.throwInvalidFilterAttributeKeyException(ExchangeExceptions.java:800)
at coldfusion.tagext.net.exchange.ExchangeContactTag.addFilter(ExchangeContactTag.java:154)
at coldfusion.tagext.net.exchange.ExchangeFilterTag.doStartTag(ExchangeFilterTag.java:140)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
at cfbug827912ecfm235702002.runPage(C:\dev\ColdFusion\cf_main\cfusion\wwwroot\ozeetee\exchange\bug82791.cfm:111)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
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:200)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041402
External Customer Info:
External Company:
External Customer Name: Glen Rainbird
External Customer Email: 3E0F1EA6447D8C6E992015D5
External Test Config: 05/02/2010
Attachments:
Comments: