Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.0.12 EE
-
Tomcat 6 + MySQL 5. Portal EE 6.0.12
Plugins EE 6.0.12 (GIT ID: 194b7b45e8adfa9e2a5c51d653465d05afe2b9f3)
-
6.0.x
-
Committed
-
3
Description
Reproduction steps:
1. Deploy Open Social portlet
2. Put out the portlet to a page
3. Copy this simple "Hello World" code to the editor:
<?xml version="1.0" encoding="UTF-8" ?> <Module> <ModulePrefs title="Hello World!"> <Require feature="opensocial-0.8" /> </ModulePrefs> <Content type="html"> <![CDATA[ Hello, OpenSocial Gadget world! ]]> </Content> </Module>
4.Click on Preview - its fail and the following exception occurs
10:59:54,886 ERROR [PortletServlet:97] javax.portlet.PortletException: org.apache.shindig.gadgets.process.ProcessingException: Unable to retrieve spec for http://localhost:8080/documents/10520/8d7cc71a-6e4f-4c50-9967-8045819219f3. HTTP error 404 javax.portlet.PortletException: org.apache.shindig.gadgets.process.ProcessingException: Unable to retrieve spec for http://localhost:8080/documents/10520/8d7cc71a-6e4f-4c50-9967-8045819219f3. HTTP error 404 at com.liferay.opensocial.editor.portlet.EditorPortlet.serveResource(EditorPortlet.java:140) at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118) at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71) at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75) ... Caused by: org.apache.shindig.gadgets.process.ProcessingException: Unable to retrieve spec for http://localhost:8080/documents/10520/8d7cc71a-6e4f-4c50-9967-8045819219f3. HTTP error 404 at org.apache.shindig.gadgets.process.Processor.process(Processor.java:99) at com.liferay.opensocial.shindig.util.ShindigUtil.getGadgetSpec(ShindigUtil.java:246) at com.liferay.opensocial.editor.portlet.EditorPortlet.serveGetRenderParameters(EditorPortlet.java:422) at com.liferay.opensocial.editor.portlet.EditorPortlet.serveResource(EditorPortlet.java:115) ... 125 more Caused by: org.apache.shindig.gadgets.GadgetException: Unable to retrieve spec for http://localhost:8080/documents/10520/8d7cc71a-6e4f-4c50-9967-8045819219f3. HTTP error 404 at org.apache.shindig.gadgets.AbstractSpecFactory.fetchFromNetwork(AbstractSpecFactory.java:136) at org.apache.shindig.gadgets.AbstractSpecFactory.getSpec(AbstractSpecFactory.java:90) at org.apache.shindig.gadgets.DefaultGadgetSpecFactory.getGadgetSpec(DefaultGadgetSpecFactory.java:81) at org.apache.shindig.gadgets.process.Processor.process(Processor.java:90) ... 128 more
5. Add to Open Social portlet - not working
6. Add the url from the Document Library - its working