Support Article
Refresh Section not happening after clicking on spellcheck icon
SA-21501
Summary
User has a radio button group, on change of radio button, it does section refresh and based on the selection different layout will be visible.
In the same section spell check icon is also present.
When user clicks on spell check icon and once the action is done, it changes the radio button value. It does not refresh the section, only the busy indicator symbol come and it stays indefinitely.
Error Messages
Not Applicable.
Steps to Reproduce
1.Create a section with a radio button, for example A,B,C and add on change Refresh Section action.
2.Add few dynamic layout in same section and provide visibility condition to layouts based on radio button selection.
3.Put a spell check icon in another layout with visibility always.
4.Add RTE to any of the layout which will be visible lets say for Radio Button value "A".
5.Run the flow.
6.Add wrong text to RTE and click on spell check icon.
7.Once spell check is done, change the radio button value. It does not refresh the section.
Root Cause
A defect in Pegasystems’ code or rules :-
A permission denied JS error occurs on refresh section after spellcheck, as the getListeners API is trying to access an orphaned RTE body.
Spell checker adds event listeners to RTE's body and when editor's setData is called in pre-submit function, it refreshes the body with new element.
Now the listener still holds reference to old orphaned element.
Resolution
Apply HFix-26691 for RTE spell check and HFix-23749 for spell checker icon.
Published April 1, 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.