Support Article
Error occurs when saving a correspondence rule
SA-69091
Summary
Error occurs when saving a correspondence rule.
Error Messages
content of stream definition—
** The pega:save tag is declared to have an empty body
Steps to Reproduce
- Open an existing correspondence rule which has the pega:save tag.
- Save As to a new version.
Root Cause
An issue in the custom application code or rules. In the correspondence rule, there are self closing pega:save tags. Though the tags are JSP tags, they must have the correct closing tags when authoring them in the Rich Text Editor (RTE). This is because, when HTML is authored in a content editable field and rendered, the browser moves subsequent tags to the self closing tag as children. This breaks the User Interface (UI). In this case, the error occurred since the pega:save tag has children tags.
Resolution
Perform the following local-change:
Modify the self closing tag to have an ending tag.
For example:
Modify the below,
<pega:save name="Selected" ref="$this.Selected"/>
t o
<pega:save name="Selected" ref="$this.Selected"></pega:save>
Published January 5, 2019 - 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.