Resolving Breaking Changes

Fixing Upgrade Problems

Step 2 of 2

Liferay goes to great lengths to maintain backwards compatibility. Sometimes, breaking changes are necessary to improve Liferay DXP. There may be cases where breaking changes affect your code upgrade process and must be resolved. A breaking change can include

Liferay provides a list of breaking changes for every major release to ensure you can easily adapt your code during the upgrade process.

The easiest way to resolve breaking changes is by using the Liferay Upgrade Planner. It automatically finds all documented breaking changes and can automatically resolve some of them on its own.

If you’re resolving breaking changes manually, make sure to investigate each breaking change document if you’re upgrading code across multiple versions. For example, if you’re upgrading from Liferay Portal 6.2 to the new DXP version, you must resolve all the breaking changes listed in the three documents listed above.

Now that you’ve resolved your breaking changes, you’ll learn how to upgrade service builder services next.