Issue
- I want to add a Display Page Template and I get the following error:

2025-02-10 18:18:39.160 ERROR [http-nio-6080-exec-8][PortletRequestDispatcherImpl:295] Unable to dispatch request: com.liferay.info.exception.CapabilityVerificationException: Failed validation of capability com.liferay.layout.page.template.info.item.capability.DisplayPageInfoItemCapability for item class name com.liferay.commerce.product.model.CPDefinition. An implementation for the following services is required: com.liferay.info.item.provider.InfoItemFieldValuesProvider.
2025-02-10 18:18:39.161 ERROR [http-nio-6080-exec-8][PortletServlet:109] Unable to process portlet com_liferay_layout_page_template_admin_web_portlet_LayoutPageTemplatesPortlet: org.apache.jasper.JasperException: com.liferay.info.exception.CapabilityVerificationException: Failed validation of capability com.liferay.layout.page.template.info.item.capability.DisplayPageInfoItemCapability for item class name com.liferay.commerce.product.model.CPDefinition. An implementation for the following services is required: com.liferay.info.item.provider.InfoItemFieldValuesProvider.
javax.portlet.PortletException: org.apache.jasper.JasperException: com.liferay.info.exception.CapabilityVerificationException: Failed validation of capability com.liferay.layout.page.template.info.item.capability.DisplayPageInfoItemCapability for item class name com.liferay.commerce.product.model.CPDefinition. An implementation for the following services is required: com.liferay.info.item.provider.InfoItemFieldValuesProvider.
Environment
- Liferay DXP 7.4
- Quarterly Releases
Resolution
- If you are not using Commerce in the affected environment, you can blacklist the following component:
com.liferay.commerce.product.content.web.internal.info.item.provider.CPDefinitionInfoItemCapabilitiesProvider