Support Article
Getting PEGA0031 alert for ListView
Summary
User has configured an Out-of-the-box (OOTB) ListView report "BrowseOperators" applied to the class "Data-Admin-Operator-ID" in a Section.
After running the case and tracer, the user is getting PEGA0031 alert (Overwritten HTML stream) for ListView in the out-of-the-box Show-Harness activity.
User is making use of the application on Custom Process Manager (CPM) 7.1.3 on Pega 7.1.7.Error Messages
Alert PEGA0031 - Overwritten HTML streamSteps to Reproduce
- Refer a ListView in a Section.
- Refer the Section in a Flow Action.
- Navigate till the Flow Action is rendered.
- Getting Alert PEGA0031 (Overwritten HTML stream) alert for ListView. Even for out-of-the-box ListView (Data-Admin-Operator-ID:BrowseOperators).
Root Cause
There was an error message being added to the stream in the event that an event should not be shown.
From the trace in DisplayView, on the first step when .pyStreamName does not have a value, it should set an error message but otherwise it should jump over the step.
The When condition for this step was not set correctly and instead the Jump for the step was set.
From the traces provided, one can see that it is not exiting the activity after the first step, so the expectation as well would be that it will skip the step. Resolution
Apply HFix-20815 to resolve the issue.
Hotfix change: Added when condition to show or hide the error message, if StreamName is empty then only show the Error Message.
Published August 24, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.