"Problem with the configuration: Unknown release in folder ..." when patching the source code

Issue

  • When patching the source code, customers may receive the error:
    "Problem with the configuration: Unknown release in folder ..."

Environment

  • Liferay DXP 7.1+

Resolution

  • Have a usable ReleaseInfo.java file taken from liferay-dxp-src/portal-kernel/src/com/liferay/portal/kernel/util/ in a source code patched with a previous fix pack: to assess whether the file is "usable", check that the final lines contain actual string values instead of @@ placeholders
  • In the source, replace the liferay-dxp-src/portal-kernel/src/com/liferay/portal/kernel/util//ReleaseInfo.java file having placeholders with the one without them
  • Proceed with the normal patching operations

Additional Information

Was this article helpful?
2 out of 2 found this helpful