To achieve file uploading we are using xif Zip extension.
After Outsystems updated to version 11.18.1 (Service Studio Version 11.53.24) users receiving the following error message:
'The path is not of a legal form'.
The information about the error message in LifeCenter is the following:
The path is not of a legal form. at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) at System.IO.Path.GetPathRoot(String path) at ICSharpCode.SharpZipLib.Core.PathUtils.DropPathRoot(String path) at ICSharpCode.SharpZipLib.Zip.PathTransformer.TransformFile(String name) at ICSharpCode.SharpZipLib.Zip.ZipOutputStream.TransformEntryName(ZipEntry entry) at ICSharpCode.SharpZipLib.Zip.ZipOutputStream.PutNextEntry(ZipEntry entry) at OutSystems.NssZip.CssZip.MssAddFile(Object ssZipHandle, String ssFileName, DateTime ssDateTime, Byte[] ssFileContent) at ssTransaction_IS.RssExtensionZip.MssAddFile(HeContext heContext, Object inParamZipHandle, String inParamFileName, DateTime inParamDateTime, Byte[] inParamFileContent)
We was not able to fix it and we would like to know if this has to do with the update and how to fix it. This is an emergency and it has to be fixed as soon as possible.
Regards,
Komodromos Nikolas
Hi for Urgent Cases. You can directly raise a support ticket to Outsystems.
https://success.outsystems.com/support/home/
Hi Nikolas,
That error in. NET FRAMEWORK stands for
"The file name is empty, contains only white spaces, or contains invalid characters."
The full set of invalid characters can vary by file system. For example, on Windows-based desktop platforms, invalid path characters might include quote ("), less than (<), greater than (>), pipe (|), backspace (\b), null (\0), and Unicode characters 16 through 18 and 20 through 25.
can you check the zip filename for invalid characters?
Try to create with a fixed name,you can create a site property to temporarily use this approach till you have the final solution.
Hope that it helps you