Article Details
Id:20980
Product:finPOWER Connect
Type:FIX
Version:4.01.00
Opened:30/11/2023
Closed:01/12/2023
Released:29/04/2024
Job: J032527

Business Layer; ISFileUtilities.SetFileArchiveAttribute would not return False when a fail condition was met

The ISFileUtilities.SetFileArchiveAttribute Business Layer function would not fail if a fail condition was met. For example, in the code below the path X:\Data\Test1.txt does not exist, however this function call would return True. However, the error would be set.

Main = finBL.Runtime.FileUtilities.SetFileArchiveAttribute("X:\Data\Test1.txt", True)

This has been fixed, and now fail conditions correctly return False.