[LRA-216] Check the status of this app Micro-site Manager Created: 10/Aug/15  Updated: 15/Dec/15  Resolved: 15/Dec/15

Status: Resolved
Project: Liferay Apps
Component/s: Micro-site Manager
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: mcalvo Assignee: Jose Ross [X] (Inactive)
Resolution: Completed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File armor-fuel.png     Text File stack.txt    

 Description   
The app documentation is here:
http://wiki.rivetlogic.com/display/LRA/Micro-site+Manager

The code is here:
http://wiki.rivetlogic.com/display/LRA/Micro-site+Manager

Check if the app is working as expected according to the documentation and test it in IE, Chrome and Firefox.

Finally check if it works in Liferay 6.2 CE GA3 and Liferay 6.2 EE GA1

 Comments   
Comment by Jonathan Ruiz [X] (Inactive) [ 11/Aug/15 ]
Hello Manuel, after checking the app here is the app status

Liferay 6.2 CE GA3:
Chrome: works fine
Firefox: works fine
Internet Explorer(ie8 - ie11): works fine

Liferay 6.2 CE GA1:
Chrome: works fine
Firefox: works fine
Internet Explorer(ie8 - ie11): not working (unable to click add site button)

Note: when downloading repo, you need to fix an inexistent and unused import so you are able to generate jar and then deploy the app.
Comment by mcalvo [ 21/Aug/15 ]
Several improvements:

1. When the status is Pending, the manager should have an option to reject the request and provide a reason if wanted. The requester should be able to see the reason.
2. When the status is Processing, the manager should be able to cancel it. The status should go back to Pending.
3. In JBoss 6.2 CE GA1 throws an error when displaying the portlets after they have some info in them. See attached file.
Comment by Jose Ross [X] (Inactive) [ 24/Aug/15 ]
Added the requested improvements and the documentation was updated.

https://github.com/rivetlogic/liferay-microsite-manager/pull/6
Comment by mcalvo [ 11/Sep/15 ]
There was an issue with your app.
You recently submitted an app "Micro-site Manager" to the Liferay Marketplace. Micro-site Manager was tested on Liferay Portal 6.2 CE GA1, Tomcat 7.0. At this time, your app has not been approved for the Liferay Marketplace due to:
* Clicking save when adding new Site Template results in 'Site templates is temporarily unavailable.'
* Error thrown in console when attemping to create new site template.

ERROR [http-bio-8080-exec-21][render_portlet_jsp:132] null
com.liferay.portal.NoSuchLayoutSetPrototypeException: No LayoutSetPrototype exists with the primary key 0
at com.liferay.portal.service.persistence.LayoutSetPrototypePersistenceImpl.findByPrimaryKey(LayoutSetPrototypePersistenceImpl.java:4185)
at com.liferay.portal.service.persistence.LayoutSetPrototypePersistenceImpl.findByPrimaryKey(LayoutSetPrototypePersistenceImpl.java:4203)
at com.liferay.portal.service.base.LayoutSetPrototypeLocalServiceBaseImpl.getLayoutSetPrototype(LayoutSetPrototypeLocalServiceBaseImpl.java:325)
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:51)
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.LayoutSetPrototypeLocalServiceUtil.getLayoutSetPrototype(LayoutSetPrototypeLocalServiceUtil.java:221)
at com.rivetlogic.microsite.action.struts.LayoutCustomFieldsAction.processAction(LayoutCustomFieldsAction.java:57)
at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
at com.liferay.portal.struts.PortletActionAdapter.processAction(PortletActionAdapter.java:55)
at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:166)
at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:618)
at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:649)
at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:312)
at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:402)
Sep 10, 2015 10:37:19 PM org.apache.catalina.startup.HostConfig deleteRedeployResources
Comment by mcalvo [ 17/Nov/15 ]
After deploying the new version of the Micro-site Manager it throws this error if you create a new site and want to see that site:

java.lang.IllegalArgumentException: null is not a valid redirect
at com.liferay.portlet.ActionResponseImpl.sendRedirect(ActionResponseImpl.java:37)
at com.rivetlogic.microsite.action.struts.MySitesCustomAction.processAction(MySitesCustomAction.java:41)
at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
at com.liferay.portal.struts.PortletActionAdapter.processAction(PortletActionAdapter.java:55)
at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:166)
at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:618)
at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:649)
at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:312)
at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:402)
at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:110)
at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:109)
at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:115)
at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:356)
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)
Comment by Jose Ross [X] (Inactive) [ 26/Nov/15 ]
The issue with the navbar was fixed with additional validations in the custom Struts Action.
http://github.com/rivetlogic/liferay-microsite-manager/pull/9
Comment by mcalvo [ 08/Dec/15 ]
I installed the Armor Fuel theme, which installs a site template. Then I tried to create a Micro-Site using it, but it fails. Shows these errors and then the server stops working for all users. See attached screen shot.

23:09:54,210 WARN [http-bio-8080-exec-1][DLPreviewableProcessor:596] No thumbnail found for file entry 13467
23:09:54,211 WARN [http-bio-8080-exec-1][DLPreviewableProcessor:596] No thumbnail found for file entry 13467
23:09:54,223 WARN [http-bio-8080-exec-1][DLPreviewableProcessor:596] No thumbnail found for file entry 13477
23:09:54,223 WARN [http-bio-8080-exec-1][DLPreviewableProcessor:596] No thumbnail found for file entry 13477
23:09:54,233 WARN [http-bio-8080-exec-1][DLPreviewableProcessor:596] No thumbnail found for file entry 13489
23:09:54,234 WARN [http-bio-8080-exec-1][DLPreviewableProcessor:596] No thumbnail found for file entry 13489
23:09:54,244 WARN [http-bio-8080-exec-1][DLPreviewableProcessor:596] No thumbnail found for file entry 13499
23:09:54,245 WARN [http-bio-8080-exec-1][DLPreviewableProcessor:596] No thumbnail found for file entry 13499
23:09:54,258 WARN [http-bio-8080-exec-1][DLPreviewableProcessor:596] No thumbnail found for file entry 13509
23:09:54,258 WARN [http-bio-8080-exec-1][DLPreviewableProcessor:596] No thumbnail found for file entry 13509
Comment by Jose Ross [X] (Inactive) [ 15/Dec/15 ]
I did several tests using different SP versions and it seems the only one with issues is Liferay EE GA1, starting with SP1 the Armorfuel Theme can be used to create micro sites.
Comment by mcalvo [ 15/Dec/15 ]
Please update the documentation, so it explicit says this plugin should be used in versions above GA1. Because there is no way to do it by configuration files as there is only SP versions and no GA2 version.
Generated at Sat Feb 10 05:49:26 GMT 2024 using Jira 8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6.