Upgrade JQuery within Liferay 7.2 GA1

BRODY HIGGS JR, modified 4 Years ago. Junior Member Posts: 61 Join Date: 5/16/14 Recent Posts

Anyone have info on how to upgrade jquery from 3.3.1 to 3.5.1 within Liferay 7.2.0 GA1?  Where is the jquery.js located in a liferay folder?  Is it bundled with a frontend module?  I can browse to the following jquery.js file in my local Liferay instance.

http://ipaddress/combo?browserId=ie&minifierType=js&languageId=en_US.../o/frontend-js-jquery-web/jquery/jquery.js

thumbnail
Olaf Kock, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

The /o/ URL gives a hint where it is.

I'm not sure it's advisable and would rather go for a full platform update. You're on an old version that has seen bugfixes on 7.2.x and newer releases. Some of them security related.

Note: In case anything in the platform relies on specific behavior of the jquery version bundled, you might introduce subtle bugs in your version, and make later upgrades even harder.