Support Article
Comments are cleared on upload of a document
SA-77230
Summary
Post upgrade to Pega Platform 8.1.3, the Comments are cleared on uploading a document.
Error Messages
Not Applicable
Steps to Reproduce
- Create a case and submit it.
- Invoke a Modal action onClick of the Upload button.
- Refresh the section. As part of the Refresh this Section, the showHarness is invoked to reload the Perform harness to execute the performpreprocessing activity from the flow action.
- Ad Comments in the Additional Info section.
- Upload a document.
Root Cause
On modal dialog submit, the Submitmodalflowaction along with submitting the modal contents, performed a form Submit for a multipart form (file input).
However in Pega Platform 8.1.3, since the enhancement to the modal dialog Submit and file uploads, only the modal dialog content is submitted and a form Submit is not performed.
Resolution
Perform the following local-change:
Set the 'Property-Set: Param.NewAction' step to 'False' before the 'SaveAndContinue' call in the PostAttachDocuments activity.
Published November 29, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.