Admin will not be allowed if they doesn't contain the domain @liferay.com

Issue

  • Users are unable to use any emails unless they have @liferay.com and are observing the "java.lang.IllegalStateException: Unable to get default company ID errors":
    • SEVERE [http-nio-8080-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [default] in context with path [] threw exception
      java.lang.IllegalStateException: Unable to get default company ID
      at com.liferay.portal.util.PortalInstances.getDefaultCompanyId(PortalInstances.java:242)
      at com.liferay.portal.util.PortalImpl.getDefaultCompanyId(PortalImpl.java:2365)
      at com.liferay.portal.kernel.util.PortalUtil.getDefaultCompanyId(PortalUtil.java:854)
      at com.liferay.portal.servlet.filters.validhostname.ValidHostNameFilter.doFilterTry(ValidHostNameFilter.java:38)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:194)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:104)
      at com.liferay.shielded.container.internal.proxy.FilterWrapper.doFilter(FilterWrapper.java:78)

Environment

  • Liferay DXP 7.4 update 75 and above

Resolution

Additional Information

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助