legacy-knowledge-base
Publicado Jun. 25, 2030

'Page Comments' portlet showing JS errors

written-by

Pooja Bhambani

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

learn-legacy-article-disclaimer-text

Issue

  • After replying to the comments on the 'page comments' portlet, it is showing the following javascript errors in the console:
    Error] TypeError: window['_com_liferay_comment_page_comments_web_portlet_PageCommentsPortlet_qwvc_0ReplyOnChange'] is not a function. (In 'window['_com_liferay_comment_page_comments_web_portlet_PageCommentsPortlet_qwvc_0ReplyOnChange'](
    window['_com_liferay_comment_page_comments_web_portlet_PageCommentsPortlet_qwvc_postReplyBody0'].getHTML()
    )', 'window['_com_liferay_comment_page_comments_web_portlet_PageCommentsPortlet_qwvc_0ReplyOnChange']' is undefined

Environment

  • Liferay DXP 7.4

Resolution

  • The observed behavior is a known Liferay DXP bug which has been addressed in Liferay DXP 7.4 U76.

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base