Foren
Community as a preview area.
Russ Danner, geändert vor 17 Jahren.
Community as a preview area.
Regular Member Beiträge: 149 Beitrittsdatum: 07.02.06 Neueste Beiträge
We have several evironments Development, Production etc.
On of our environments is a business user environment. Its a portal that allows them to make modifications to pages, portlet configurations, and theme assignments.
As we move on to our CMS implementation I imagine they will have serveral communities:
Guest: very limited here... basically force login
Live: represents the site as it is in production
Preview: Life + what ever tweaks they wish to roll out.
From the guest environment I imagine they would have the ability to make approvals and interact with workflow. Approval would trigger events in content management and website management.
Process:represents some community that has access to a specific production process like Publish web content, publish x magazine... whatever....
CMS: represents a desktop of applications that allow them to interact with the CMS directly.
Personal (private): represents some personal area they would be allowed to customize
ConceptX: some power business user would have the ability to create new communities to support the development of things like a concept website
One reason this is not possible today is because it does not seem possible to copy a page from one community to another.
It doesnt seem possible to export a LAR from one community and import it as another.
There is no way to use communities as a staging or sandbox area.
Maybe thats because its a total abuse of the concept I don't know.
What do you think?
On of our environments is a business user environment. Its a portal that allows them to make modifications to pages, portlet configurations, and theme assignments.
As we move on to our CMS implementation I imagine they will have serveral communities:
Guest: very limited here... basically force login
Live: represents the site as it is in production
Preview: Life + what ever tweaks they wish to roll out.
From the guest environment I imagine they would have the ability to make approvals and interact with workflow. Approval would trigger events in content management and website management.
Process:represents some community that has access to a specific production process like Publish web content, publish x magazine... whatever....
CMS: represents a desktop of applications that allow them to interact with the CMS directly.
Personal (private): represents some personal area they would be allowed to customize
ConceptX: some power business user would have the ability to create new communities to support the development of things like a concept website
One reason this is not possible today is because it does not seem possible to copy a page from one community to another.
It doesnt seem possible to export a LAR from one community and import it as another.
There is no way to use communities as a staging or sandbox area.
Maybe thats because its a total abuse of the concept I don't know.
What do you think?
Russ Danner, geändert vor 17 Jahren.
RE: Community as a preview area.
Regular Member Beiträge: 149 Beitrittsdatum: 07.02.06 Neueste Beiträge
any thoughts on this?
Brian Chan, geändert vor 17 Jahren.
RE: Community as a preview area.
Liferay Master Beiträge: 753 Beitrittsdatum: 05.08.04 Neueste Beiträge
You should be able to export from community A and import it to community B. It's not really an abuse of the concept. We do that quite a bit actually.
Russ Danner, geändert vor 17 Jahren.
RE: Community as a preview area.
Regular Member Beiträge: 149 Beitrittsdatum: 07.02.06 Neueste Beiträge
My understanding is that george tried this and it didnt work. I just made a new community in our dev environment exported guest and tried to import it into the new community.
I still have to look at the exception but I might as well post it as well
java.lang.NullPointerException
at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayoutPermissions(LayoutLocalServiceImpl.java:808)
at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:488)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy462.importLayouts(Unknown Source)
at com.liferay.portal.service.ejb.LayoutLocalServiceEJBImpl.importLayouts(LayoutLocalServiceEJBImpl.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:54)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:158)
at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:154)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
at $Proxy256.importLayouts(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.ejb.access.LocalSlsbInvokerInterceptor.invoke(LocalSlsbInvokerInterceptor.java:66)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy461.importLayouts(Unknown Source)
at com.liferay.portal.service.spring.LayoutLocalServiceUtil.importLayouts(LayoutLocalServiceUtil.java:225)
at com.liferay.portlet.communities.action.ImportPagesAction.processAction(ImportPagesAction.java:64)
at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:173)
at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:95)
at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:313)
at com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:142)
at com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:232)
at com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:250)
at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
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:188)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:437)
at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:825)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.ccs.portal.services.PortalServicesServletFilter.doFilter(PortalServicesServletFilter.java:124)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:143)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:205)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.ccs.cache.OsCacheFilter.doFilter(OsCacheFilter.java:500)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
2006-08-25 14:48:07,129 ERROR [com.liferay.portlet.communities.action.ImportPagesAction] com.liferay.portal.SystemException: javax.ejb.EJBException: RuntimeException; CausedByException is:
null
I still have to look at the exception but I might as well post it as well
Matt Van Van, geändert vor 17 Jahren.
RE: Community as a preview area.
New Member Beiträge: 4 Beitrittsdatum: 05.06.06 Neueste Beiträge
I am using 4.1.2 on Tomcat and received an error while trying to import a LAR file into a new community. Here is what I did:
1. Created a new community
2. Exported another community that has about 20 pages mostly with journal content portlets
3. Imported teh resulting LAR file from #2 above
I then received this error:
"You have entered invalid data. Please try again."
Thoughts?
Thanks!
Matt
1. Created a new community
2. Exported another community that has about 20 pages mostly with journal content portlets
3. Imported teh resulting LAR file from #2 above
I then received this error:
"You have entered invalid data. Please try again."
Thoughts?
Thanks!
Matt