XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 3.07.00
    • 3.07.02
    • None

    Description

      To reproduce:
      1. Login to CMS and navigate to Documents >> Hippo Go Green >> Newsletters
      2. Access context menu and create a "New Newsletter" document
      3. After adding content click save & close and publish
      4. Access Newsletter in the menu and click on "prepare newsletter"

      Expected result: After some time a pop-up message would display conveying success message with links to OPENEMM site.
      Actual result:
      A message appeared (see screenshot):
      "Could not fetch the newsletter HTML content at '/site/newsletter/bulletin.html?org.hippoecm.hst.container.request.fqu=true'

      The following was logged:
      21.11.2012 16:25:46 ERROR [com.onehippo.cms7.newsletter.plugin.PrepareNewsletterPlugin$PrepareNewsletterWorkflow.invoke():131] Failed to prepare newsletter
      com.onehippo.cms7.newsletter.service.NewsletterServiceException: Could not fetch the newsletter HTML content at '/site/newsletter/bulletin.html?org.hippoecm.hst.container.request.fqu=true'.
      at com.onehippo.cms7.newsletter.service.AbstractUrlFetchingNewsletterService.fetchContent(AbstractUrlFetchingNewsletterService.java:203)
      at com.onehippo.cms7.newsletter.service.AbstractUrlFetchingNewsletterService.createNewsletter(AbstractUrlFetchingNewsletterService.java:81)
      at com.onehippo.cms7.newsletter.plugin.PrepareNewsletterPlugin$PrepareNewsletterWorkflow.invoke(PrepareNewsletterPlugin.java:128)
      at org.hippoecm.addon.workflow.ActionDescription.run(ActionDescription.java:78)
      at org.hippoecm.addon.workflow.MenuItem$1.onClick(MenuItem.java:40)
      at org.hippoecm.addon.workflow.MenuLink$1.onEvent(MenuLink.java:45)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:312)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:36)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:396)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.net.MalformedURLException: no protocol: /site/newsletter/bulletin.html?org.hippoecm.hst.container.request.fqu=true
      at java.net.URL.<init>(Unknown Source)
      at java.net.URL.<init>(Unknown Source)
      at java.net.URL.<init>(Unknown Source)
      at com.onehippo.cms7.newsletter.util.UrlResourceFetcher.fetchResource(UrlResourceFetcher.java:38)
      at com.onehippo.cms7.newsletter.service.AbstractUrlFetchingNewsletterService.fetchContent(AbstractUrlFetchingNewsletterService.java:201)
      ... 33 more

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              svoortman Simon Voortman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: