Legacy Knowledge Base
Published Jun. 30, 2025

Modules with escapeModel=true attribute in search-container not working

Written By

Alvaro Cabello Díaz

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How to articles!

While we make every effort to ensure this Knowledge Base is accurate,it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • We have detected that the modules that implement the search-container with escapedModel="true" attribute in the search-container-row, are not working.
  • We have also seen the following messages appear in the logs:
    at com.liferay.portal.kernel.util.ProxyUtil.lambda$getProxyProviderFunction$0(ProxyUtil.java:133) ~[portal-kernel.jar:?]
    at com.liferay.portal.security.service.access.policy.model.impl.SAPEntryModelImpl.toEscapedModel(SAPEntryModelImpl.java:819) ~[?:?]
    at com.liferay.portal.security.service.access.policy.model.impl.SAPEntryModelImpl.toEscapedModel(SAPEntryModelImpl.java:71) ~[?:?]
    at com.liferay.taglib.ui.SearchContainerRowTag.processRow(SearchContainerRowTag.java:298) ~[bundleFile:?]
    at com.liferay.taglib.ui.SearchContainerRowTag.doStartTag(SearchContainerRowTag.java:147) ~[bundleFile:?]

Environment

  • DXP 7.4

Resolution

  • First, you have to check if you have overwritten the module.framework.properties.org.osgi.framework.bootdelegation property in the file portal-ext.properties.
  • If you have overwritten it, please note that its value has changed. On 7.4 the default value is:
    module.framework.properties.org.osgi.framework.bootdelegation=\
    __redirected,\
    com.liferay.expando.kernel.model,\
    com.liferay.glowroot.plugin.*,\
    com.liferay.portal.servlet.delegate,\
    com.liferay.portal.servlet.delegate*,\
    com.sun.ccpp,\
    com.sun.ccpp.*,\
    com.sun.crypto.*,\
    com.sun.image.*,\
    com.sun.imageio.plugins.*,\
    com.sun.jmx.*,\
    com.sun.jndi.*,\
    com.sun.mail.*,\
    com.sun.management.*,\
    com.sun.media.*,\
    com.sun.msv.*,\
    com.sun.org.*,\
    com.sun.tools.*,\
    com.sun.xml.*,\
    com.yourkit.*,\
    jdk.*,\
    org.glowroot.agent,\
    org.glowroot.agent.*,\
    sun.*,\
    weblogic.jndi,\
    weblogic.jndi.*
Did this article resolve your issue ?

Legacy Knowledge Base