When I use Multiple File to upload files without extension, this message is displayed "[New Rich Text Document (2)]: Index and count must refer to a location within the string.Parameter name: count "Can you give me a solution?
Hi Nguyen and Ravi,
The reported issue has been solved in version 3.0.4.
Kind regards,
Remco Dekkinga
Hi Nguyen,
This error is coming from the MultipleFileUpload_Extension which is an extension library used inside this forge component.
Here's the stack trace for the error:
Index and count must refer to a location within the string.Parameter name: count at System.String.Remove(Int32 startIndex, Int32 count) at OutSystems.NssMultipleFileUpload_Extension.MIMEUtil.GetMimeType(String filename) at OutSystems.NssMultipleFileUpload_Extension.CssMultipleFileUpload_Extension.MssGetRequestFile(RCFileRecord& ssContent) at ssMultipleFileUpload.RssExtensionMultipleFileUpload_Extension.MssGetRequestFile(HeContext heContext, IRecord& outParamContent)
You might need to fix it manually by customizing the extension if it is quite urgent for you.
The C# code needs to be modified for cases where there's no file-extension available. In this error, it is trying to find the MIME type of the file, but fails due to no file-extension in your filename.