Support Article

"Attachment successful" incorrectly displayed. (Port HFix-30713)



The user is on a Samsung tablet using Chrome as the browser, the confirmation message of successful attachment is not accurate as the file is not attached but the message shows that it is successfully attached. The scenario is working fine in Desktop.

Error Messages

Not Applicable

Steps to Reproduce

• On desktop: Current behavior is correct.
  1. Open the upload file modal window.
  2. Choose a file with a forbidden extension (exemple : without extension) with button “Select file”
  3. Validation message is correctly displayed.

 pyWorkPage and pyAttachmentPage contains validation message.
Tracer file :

• On mobile: Validation message are correctly processed but behavior is not correct (to simplify, I use mobile simulation with chrome. It’s the same behavior on real mobile device without the camera to upload the file)

  1. Open the upload file modal window.
  2. Choose a file with a forbidden extension (exemple : extension “.conf”) :
  3. Validate;
    Observe: message “File attached successfully” is displayed
  4. Observe: incorrect behavior, the extension .conf is not allowed
  5. Click on “OK”.
  6. Observe: The file is not attached (normal because the extension .conf is not allowed)

 pyWorkPage and pyAttachmentPage contains validation message but the displayed message is not correct.

Root Cause

A defect in Pegasystems’ code or rules

Attach Content control in desktop browser and in mobile browsers and HC are differ. In mobile browsers and HC it behaves in different way. For mobile browser the the DSS to be used for max file size is "uiengine/mobile/maxattachmentsize". On changing this DSS "uiengine/mobile/maxattachmentsize" it should work properly in mobile browser. And in mobile browsers there is no way to attach documents except jpg and png image files.


Apply HFIX-34461

Published May 15, 2017 - Updated May 29, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.