Legacy Knowledge Base
Published Jul. 2, 2025

React JS widget created with the Liferay JS Yeoman tool does not handle single or double quotes properly

Written By

John Park

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When saving a configuration field with a React JS widget created with Liferay JS Yeoman tool, the following browser console error may be observed, and the configuration does not save successfully.
Uncaught SyntaxError: missing ) after argument list
at Object.addHTML (combo:441)
at Y_Node._insert (combo:80)
at Y_Node.appendChild (combo:80)
at component.globalEval (combo:92)
at Y.AsyncQueue.<anonymous> (combo:577)
at Y.EventFacade.callback (combo:152)
at Y.AsyncQueue._defExecFn (combo:579)
at Y.CustomEvent.CEProto.fireComplex (combo:539)
at Y.CustomEvent._fire (combo:512)
at Y.AsyncQueue.fire (combo:530)

Environment

  • DXP 7.2

Resolution

  • Create a support ticket to request a hotfix with the following fix included: LPS-134347

 

Did this article resolve your issue ?

Legacy Knowledge Base