Lengthy URLs in RTE cause spellcheck to hang indefintely
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).
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
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:
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: