000038505 - Upload failed error for Attachment field if file size is 0 KB (new file) in RSA Archer 6.x

Document created by RSA Customer Support Employee on Mar 13, 2020
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000038505
Applies ToRSA Product Set: RSA Archer
RSA Version/Condition: 6.x
IssueIf the File Creation Restriction setting in the Archer Control Panel (on the Installation Settings tab) is configured to either Blacklist or Whitelist certain file types, a file upload to an attachment field fails if the file has size of 0 KB.

(A 0 KB file is created when a new Microsoft Word file or text file is saved without entering any data in the file.  Upload fails for both of these file types.)

User-added image

Besides to the error message shown in the Upload dialogue box, the following error is written to the archer.w3wp logs:




Message>Object reference not set to an instance of an object.</Message>
<Source>ArcherTech.Common</Source>
<StackTrace>   at ArcherTech.Common.ErrorHandling.Rules.Repository.TextFileValidator.IsValid(Stream fileStream)
at ArcherTech.Common.ErrorHandling.Rules.FileExtensionsUploadRule.IsValid(Stream fileStream, String extension)
CauseFile validation is performed if either Whitelist or Blacklist is selected for the File Creation Restriction option, and the validation process rejects a 0 KB file.
WorkaroundIf one or more characters are entered in the file, it passes validation and the upload succeeds. 
If File Creation Restriction is set to None, file validation will not be performed and the file upload will succeed.
NotesAn engineering request has been submitted for this issue: ARCHER-85573 Attachment upload fails for 0 KB file if File Creation Restriction enabled

Attachments

    Outcomes