Error occurs when saving a correspondence rule
Error occurs when saving a correspondence rule.
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.
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.
Perform the following local-change:
Modify the self closing tag to have an ending tag.
Modify the below,
<pega:save name="Selected" ref="$this.Selected"/>
<pega:save name="Selected" ref="$this.Selected"></pega:save>