Support Article
Lengthy URLs in RTE cause spellcheck to hang indefintely
SA-9267
Summary
Lengthy URLs in RTE cause spellcheck to fail. When you put the following link onto the OOTB RTE (on UI Gallery) and click spellcheck, an animated tetris gif appears in never never-ending loop.
Sample Link - https://pdn.pega.com/integration/troubleshooting-content-is-not-allowed-in-prolog-from-connector-wizard-with-xsd-or-wsdl-input
Spellcheck works fine without the above lenghty url. Issue occurs on all browsers including Chrome and IE (9/11).
Error Messages
Screen/browser tab hangs. You would have to close the tab or end the session.
Steps to Reproduce
1. Open the OOTB Advanced RichTextEditor from UI Gallery
2. Put the following link into the RTE with/without other text - https://pdn.pega.com/integration/troubleshooting-content-is-not-allowed-in-prolog-from-connector-wizard-with-xsd-or-wsdl-input
3. Click spellcheck
You should notice a never-ending animated tetris gif
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. The issue is with the SpellChecker properties data instance, and requires changes to the locale-spcific instance of the SpellChecker rule (en_US in this case). The changes are shown in the image below:

Resolution
This issue is resolved through the following local change: make changes to the locale-specific instance(en_US in this case) of the SpellChecker Properties rule, as shown below:

Published January 31, 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.