tracker issue : CF-3043350

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

Bug 86314:(Watson Migration Closure)If you use S3 to get a directory list and an item does not have a last modified date, you get an error

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)

Created: 02/10/2011

Components: File Management, VFS-S3

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 281952

Priority/Frequency: Major / Unknown

Locale/System: English / Platforms All

Vote Count: 5

Problem:

If you use S3 to get a directory list and an item does not have a last modified date, you get an error. It is easy to have an item w/o a last modified date - just use the S3 console to make a new folder under your bucket.
Method:


Result:

org.apache.commons.vfs.FileSystemException: Could not determine the last modified timestamp of "s3://AKIAJGSWD7QVMLRI2UEA:jn6zn4QhIOYUqsFKIBxQSx51U8XGVLTp6SEje4gE@s3.coldfusionjedi.com/moo". at org.apache.commons.vfs.provider.DefaultFileContent.getLastModifiedTime(DefaultFileContent.java:168) at coldfusion.vfs.VFile.lastModified(VFile.java:369) at coldfusion.tagext.io.FileListTable.populate(FileListTable.java:71) at coldfusion.tagext.io.DirectoryTag.doStartTag(DirectoryTag.java:288) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cftest22ecfm1761929297.runPage(C:\Apache2.2\htdocs\test2.cfm:2) 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:360) 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.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) 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) Caused by: org.apache.commons.vfs.FileSystemException: This file type does not support retriving last modified time. at org.apache.commons.vfs.provider.AbstractFileObject.doGetLastModifiedTime(AbstractFileObject.java:248) at coldfusion.vfs.s3.S3FileObject.doGetLastModifiedTime(S3FileObject.java:359) at org.apache.commons.vfs.provider.DefaultFileContent.getLastModifiedTime(DefaultFileContent.java:164) ... 35 more

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3043350

External Customer Info:
External Company:  
External Customer Name: Raymond Camden
External Customer Email: 5FBC41E943BD265C992015D5
External Test Config: 02/10/2011

Attachments:

Comments: