Legacy Knowledge Base
Published Jul. 2, 2025

Patching Liferay Portal When There Are Custom Apps Installed

Written By

Liferay Support

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 Portal fix packs and hotfixes will often update, not only JSPs, but also classes. In order to ensure that your custom projects continue to use the most up-to-date code, please follow these guidelines

Resolution

  1. Use the latest Patching Tool found here: Patching Tool download page.
    1. Patching Tool, version 21 and higher, will now update all the original JSPs that may have been overridden by a hook, making it easier to revert hooks or just to review the latest JSP version.
  2. Patch your source code with the Patching Tool by updating the default.properties file so that patching.mode=source OR manually merge the updated code found in the src folder of the fix pack/hotfix archive.
  3. Build and redeploy your custom projects in a test environment and ensure that everything continues to work as expected.
Did this article resolve your issue ?

Legacy Knowledge Base