Once again during our upgrade from Liferay EE 6.1 to 6.2 we have run into a challenge. This time
Error in log file
This error is caused by a missing metadata field “_fieldsDisplay”. It appears that Fix Pack 95 introduced this error. The Liferay team generated custom fix packs to resolve these issues. The fixes did complicate our deployment. We will now need to restart the server and additional time during deployment. Additionally this requires changing the portal-ext.properties in the middle of deployment. The high level view of the needed steps.
Run verification processes on old server.
Verify License Registered
Verify standard Liferay portlets deployed.
Stop Liferay (We tried to skip this step but the next step didn’t deploy correctly.)
Verify customizations are functioning at a basic level.
Verify legacy documents can be saved without error.
Stop Liferay and modify portal-ext.properties.
Start Liferay and verify functionality.
The following is the change that needs to be added and removed from the portal-ext.properties.
My best guess is that the VerifyDynamicDataMapping class goes out and fixes any legacy documents. While the fixes are relatively straightforward it does complicate our upgrade process and introduces more avenues for errors to creep in.