Hi,
I have an environment on a DXP2026Q1.9 where I activated the new CMS, so it create all the objects associated like :
- L_20115_CMSBasicWebContent
- L_20115_CMSBlog
- L_20115_CMSBulkActionTask
- etc
I tried to upgrade to the DXP2026Q3.6 but I get the error :
2026-10-14 17:00:28.673 INFO [main][UpgradeProcess:116] Upgrading com.liferay.site.cms.site.initializer.internal.upgrade.v2_0_0.CMSBulkActionTaskTaskResultUpgradeProcess
2026-10-14 17:00:28.722 INFO [main][UpgradeProcess:139] Failed upgrade process com.liferay.site.cms.site.initializer.internal.upgrade.v2_0_0.CMSBulkActionTaskTaskResultUpgradeProcess in 49 ms
2026-10-14 17:00:28.722 ERROR [main][UpgradeExecutor:339] Failed upgrade process for module com.liferay.site.cms.site.initializer
com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.object.exception.ObjectFieldLabelException: Label is null for locale French (France)
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:130) ~[portal-kernel.jar:?]
So I checked the Github : GitHub - liferay/liferay-portal · GitHub
And specifically the CMSBulkActionTaskTaskResultUpgradeProcess
So if understand well :
- I got in CMSBulkActionTaskTaskResultUpgradeProces the method that add a new ObjectFIeld with the parameter for the label being :
- HashMapBuilder.put(LocaleUtil.US, “Task Result”).build()
- SO only the US langage
- But in ObjectFieldLocalServiceImpl , the AddMethod finish with a validateLabel that validate the localized label but using the Locale Site Default
- My site is in French by Default, I don’t even have the en_US activated
- So when it checked the label of the new ObjectField that was created only with the LocalUtil.US on my French Liferay, it create an exception
Is it because of that wokflow I have the problem ?
How can I upgrade from Q1.9 to Q3.6 with this problem ?
Thanks in advance,
Kind Regards
Jérémy
Hi Jeremy, CMSBulkActionTaskTaskResultUpgradeProcess hardcodes only LocaleUtil.US, so when ObjectFieldLocalServiceImpl checks against your French default locale, it blows up. Here’s a quick workaround if you have a Q1.9 backup: 1. In Q1.9, go to Instance Settings>Localization, activate en_US and set it as Default. 2. Check Objects >CMSBulkActionTask to make sure its default language isn't stuck on fr_FR. 3. Run the Q3.6 upgrade. Add the French label to the new taskResult field, then flip your instance default language back to French!
– Himanshu_Chauhan