Issue
An error occurs on downloading an attachment from a work object after updating to Pega Platform 23.1.5.
Symptoms and Impact
- The following error occurs:
- ERROR in /com/pegarules/generated/activity/ra_action_pydownloadattachmentcontent_d4dcbc8fa8ea2296c0ffe55b80cc4668.java (at line 884)
boolean isOnlyAsciiFileName = com.google.common.base.CharMatcher.ASCII.matchesAllOf(strOutputFileName);
- ERROR in /com/pegarules/generated/activity/ra_action_pydownloadattachmentcontent_d4dcbc8fa8ea2296c0ffe55b80cc4668.java (at line 884)
- The attachment fails to download.
Steps to reproduce
- On Pega Platform 23.1.5, open a work object that has attachments.
- Download one of the attachments.
Root Cause
A defect in Pega Platform where a deprecated 3rd party class is being leveraged.
Solution
Update to Pega 24.1 or Pega 25.1. As a best practice, update your Pega deployment to the latest release as explained in Keeping current with Pega.
OR
Apply HFix-3361. Request the hotfix from the My Support Portal by selecting the Existing Hotfix ticket type. For more information on creating a support ticket, refer to My Support Portal FAQs.