Completed
Last Updated: 16 Feb 2022 10:50 by ADMIN
Release R1 2022 SP1
Martin Ivanov
Created on: 17 Dec 2020 10:50
Category: FileDialogs
Type: Bug Report
3
FileDialogs: Some files are missing from the explorer control

Some files that can be seen in the Windows Explorer are missing from the ExplorerControl of the file dialogs. This happens because of a silent ArgumentOutOfRangeException thrown for a corrupted file that doesn't have a "Date Modified" attribute set. This breaks the loading of the following files in the directory.

Here are the exception details:

System.ArgumentOutOfRangeException: Not a valid Win32 FileTime.
Parameter name: fileTime
   at System.DateTime.FromFileTimeUtc(Int64 fileTime)
   at System.IO.FileSystemInfo.get_LastWriteTimeUtc()
   at System.IO.FileSystemInfo.get_LastWriteTime()
   at Telerik.Windows.Controls.FileDialogs.FileSystemInfoWrapper..ctor(FileSystemInfoWrapperFactoryBase factory, FileSystemInfo fileSystemInfo)
   at Telerik.Windows.Controls.FileDialogs.FileInfoWrapper..ctor(FileSystemInfoWrapperFactoryBase factory, FileInfo info)
   at Telerik.Windows.Controls.FileDialogs.FileSystemInfoWrapperFactory.TryGetConcreteFileSystemInfoWrapper(FileSystemInfo fileSystemInfo, FileSystemInfoWrapper& fileSystemInfoWrapper)
   at Telerik.Windows.Controls.FileDialogs.DirectoryInfoWrapper.LoadFiles(DirectoryInfo directoryInfo)
   at Telerik.Windows.Controls.FileDialogs.DirectoryInfoWrapper.ReloadChildren()

 

0 comments