2
Issue with Root Folder when location path is very long
Problem reported by Kasim Husaini - 11/10/2020 at 10:22 PM
Resolved

Today we encountered one issue with FileVista (With SQL Server 2019 database).

The path for location of root folder was longer than 400 characters.

The password hash got partially stored in the database.

System was not able to load the root folders at all due to base64 conversion error.

An unhandled exception has occurred.

Exception information:
System.FormatException: Invalid length for a Base-64 char array or string.
at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at GleamTech.FileSystems.Location._6v(String value, String encryptionKey)
at GleamTech.FileVista.DataContext._4c(OrdinalDataReader reader)
at GleamTech.Data.DbProvider._X7`1.MoveNext()
at GleamTech.FileVista.DataContext._fd.MoveNext()
at GleamTech.FileVista.ActionHandler.GetRootFolders(Nullable`1 managedGroupId)

Requesting you to provide a permanent fix for the issue.

Thanks,
Kasim Husaini

1 Reply

Reply to Thread
0
Cem Alacayir Replied
Employee Post Marked As Resolution
FYI, this is now fixed in Version 8.2.0 - November 17, 2020:

  • Fixed: The Location field of RootFolder was still being truncated to 255 characters, although in database it was increased to 500 characters back in v6.7.

Reply to Thread