Legacy Knowledge Base
公開されました Jul. 2, 2025

Update 26でJQueryを有効にすると動作しない。

Written By

Justin Mann

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.

問題

  • Liferay DXP 7.4 Update 26がインストールされている場合、JQueryを有効にすると動作しない。
  • 少なくともUpdate 23までは動作していました。
  • コントロールパネルでJQueryを有効にしている場合、以下のスクリプトを含むWebコンテンツを追加すると、コンテンツが表示されない。
     <div id='temp'></div>
    <script type="text/javascript"> jQuery(document).ready(function(){
    jQuery("#temp").html("Hello World from jQuery");
    }); </script>
  • ブラウザのコンソールには、以下のURLの404エラーを取得することができます:
    http://localhost:8080/&&&&&&&&&/combo?browserId=firefox&minifierType=js&languageId=en_US&t=1653583188518&/o/frontend-js-jquery-web/jquery/ajax.js?&mac=oBTgsLtnTiplpsR5SuV2x46X+VQ=&browserId=firefox&languageId=en_US&minifierType=js&/o/frontend-js-jquery-web/jquery/fm.js?&mac=dvlJa6TJ4wrY9YMQajXrUSWbBfM=&browserId=firefox&languageId=en_US&minifierType=js&/o/frontend-js-jquery-web/jquery/init.js?&mac=vYtaQGLEwayI2KMp3ovbcTQtZVU=&browserId=firefox&languageId=en_US&minifierType=js&/o/frontend-js-jquery-web/jquery/bootstrap.bundle.min.js?&mac=JlpzPLf7xIH9JRCmWaha1VyTyJU=&browserId=firefox&languageId=en_US&minifierType=js&/o/frontend-js-jquery-web/jquery/form.js?&mac=lV8M+MLs2qnl/93OFjT3c7z6810=&browserId=firefox&languageId=en_US&minifierType=js&/o/frontend-js-jquery-web/jquery/popper.min.js?&mac=bbzoiu4VtC8pCD33oHUTzztIa6A=&browserId=firefox&languageId=en_US&minifierType=js&/o/frontend-js-jquery-web/jquery/side_navigation.js?&mac=bRmUf1w47lefBMr069JXYVGOZ/E=&browserId=firefox&languageId=en_US&minifierType=js&/o/frontend-js-jquery-web/jquery/collapsible_search.js?&mac=lEjSNVkre7Qm2ssh4B7qNO3z9do=&browserId=firefox&languageId=en_US&minifierType=js&/o/frontend-js-jquery-web/jquery/jquery.min.js?&mac=yOHIs4bcW3qRhMdjyI0Zo0brM0I=&browserId=firefox&languageId=en_US&minifierType=js

Environment

  • Liferay DXP 7.4 update 26

解決策

  • この問題は、LPS-154782で見つかった修正により解決されます。 この修正は、アップデート28でリリースされました。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base