Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-44244

Deleting a Site that is part of Asset Publisher's Site scope throws console error and locks up AP configuration iframe

    Details

      Description

      Steps to reproduce:

      1. Add a Site ('newSite')
      2. In Liferay Site, add AP portlet to a page
        • Configure AP to display assets from Liferay, Global and newSite scopes > Save
      3. In Control Panel > Sites
        • Delete newSite
      4. Navigate back to AP portlet
      5. Console will throw the following error:
        18:56:54,158 ERROR [http-bio-9080-exec-3][AdvancedPermissionChecker:574] com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 10610
        com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 10610
                at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:7957)
                at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:7975)
                at com.liferay.portal.service.impl.GroupLocalServiceImpl.getGroup(GroupLocalServiceImpl.java:1185)
                at sun.reflect.GeneratedMethodAccessor241.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
                at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
                at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
                at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
                at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
                at com.sun.proxy.$Proxy39.getGroup(Unknown Source)
                at com.liferay.portal.service.GroupLocalServiceUtil.getGroup(GroupLocalServiceUtil.java:216)
                at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermission(AdvancedPermissionChecker.java:535)
                at com.liferay.portal.security.permission.BasePermissionChecker.hasPermission(BasePermissionChecker.java:100)
                at com.liferay.portlet.documentlibrary.service.permission.DLPermission.contains(DLPermission.java:51)
                at com.liferay.portlet.documentlibrary.asset.DLFileEntryAssetRendererFactory.hasAddPermission(DLFileEntryAssetRendererFactory.java:217)
                at com.liferay.portlet.asset.util.AssetUtil.getAddPortletURL(AssetUtil.java:269)
                at com.liferay.portlet.asset.util.AssetUtil.getAddPortletURLs(AssetUtil.java:471)
                at org.apache.jsp.html.portlet.asset_005fpublisher.view_jsp._jspService(view_jsp.java:744)
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
                at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
                at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
                at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
                at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
                at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
                at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
                at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3968)
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
                at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
                at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:97)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
                at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
                at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
                at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:331)
                at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:128)
                at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:370)
                at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:338)
                at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
                at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
                at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:478)
                at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
                at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:234)
                at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:296)
                at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:157)
                at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:213)
                at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
                at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
                at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:55)
                at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
                at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
                at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:618)
                at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:677)
                at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:379)
                at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1252)
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
                at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
                at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
                at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
                at com.liferay.portlet.PortletContainerImpl._doRender(PortletContainerImpl.java:664)
                at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:138)
                at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:141)
                at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
                at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:156)
                at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:125)
                at com.liferay.portal.layoutconfiguration.util.PortletRenderer.render(PortletRenderer.java:72)
                at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:460)
                at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:284)
                at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:113)
                at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:124)
                at com.liferay.portal.layoutconfiguration.util.RuntimePageUtil.processTemplate(RuntimePageUtil.java:69)
                at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:560)
                at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
                at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
                at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:97)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
                at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
                at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
                at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:280)
                at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:383)
                at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:178)
                at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:79)
                at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
                at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
                at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:173)
                at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
                at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
                at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:549)
                at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:526)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:97)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
                at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
                at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
                at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
                at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:160)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:360)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:243)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:70)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:263)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:226)
                at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:97)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
                at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
                at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
                at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
                at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
                at java.lang.Thread.run(Thread.java:744)
        
      6. Click into the AP Configuration
        • The iframe will open blank white, and console will throw another similar error:
          18:59:02,170 ERROR [http-bio-9080-exec-9][IncludeTag:129] Current URL /web/guest/ap-page?p_p_id=86&p_p_lifecycle=0&p_p_state=pop_up&p_p_col_id=column-1&p_p_col_count=1&_86_struts_action=%2Fportlet_configuration%2Fedit_configuration&_86_redirect=%2Fweb%2Fguest%2Fap-page&_86_returnToFullPageURL=%2Fweb%2Fguest%2Fap-page&_86_portletResource=101_INSTANCE_3IPsmzPpzPFk&_86_resourcePrimKey=10507_LAYOUT_101_INSTANCE_3IPsmzPpzPFk&_86_&yui_patched_v3_11_0_1_1392231415729_831=1392231541365 generates exception: com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 10610
          com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 10610
                  at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:7957)
                  at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:7975)
                  at com.liferay.portal.service.impl.GroupLocalServiceImpl.getGroup(GroupLocalServiceImpl.java:1185)
                  at com.liferay.portal.service.impl.GroupLocalServiceImpl.getGroups(GroupLocalServiceImpl.java:1383)
                  at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
                  at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
                  at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
                  at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
                  at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
                  at com.liferay.portal.service.GroupLocalServiceUtil.getGroups(GroupLocalServiceUtil.java:1259)
                  at org.apache.jsp.html.portlet.asset_005fpublisher.configuration_jsp._jspService(configuration_jsp.java:1007)
                  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
                  at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
                  at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
                  at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
                  at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
                  at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
                  at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
                  at org.apache.jsp.html.portlet.portlet_005fconfiguration.edit_005fconfiguration_jsp._jspService(edit_005fconfiguration_jsp.java:778)
          

      Expected result:
      Asset Publisher portlet will update real-time with the available sites in portal, so errors aren't thrown when one of the scoped sites gets deleted.

      Actual result:
      The above console errors, accompanied with a locked up AP configuration iframe (forcing the user to delete the AP and start configuring from scratch).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.wulbern Brian Wulbern
              Reporter:
              brian.wulbern Brian Wulbern
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 42 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1