Uploaded image for project: 'Google Sitemap (closed)'
  1. Google Sitemap (closed)
  2. MGNLGS-2

Google Sitemap does not work on Magnolia 4.3.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.1
    • None
    • None
    • magnolia-module-google-sitemap-1.0.14, Magnolia 4.3.1, Magnolia 4.3.8

    Description

      Update Google Sitemap module to work with Magnolia 4.3.x. MGNLGS-1 provided a fix for URL shortening compatibility but only a snapshot release was provided. No public release of this module exists for m4.3.x.

      Issue manifests itself when sitemap fails to render on public instance. To reproduce:

      1. Install Magnolia Enterprise 4.3.8
      2. Install magnolia-module-google-sitemap-1.0.14
      3. Activate page /google-sitemap
      4. Request the page on public instance, http://localhost:8080/google-sitemap.html
      5. System does not render the page.

      Error logged:

      2010-11-16 11:47:16,878 ERROR ase.[Catalina].[localhost].[/magnoliaPublic].[jsp]: 
      Servlet.service() for servlet jsp threw exception java.lang.NullPointerException
        at ch.esense.magnolia.module.googlesitemap.tags.SitemapTag.drawChildren(SitemapTag.java:418)
      ...
      2010-11-16 11:47:16,881 ERROR info.magnolia.module.templating.RenderingFilter   : 
      Can't render template /templates/google-sitemap/default.jsp 
      info.magnolia.module.templating.RenderException:  
      Can't render template /templates/google-sitemap/default.jsp
        at info.magnolia.module.templating.renderers.JspTemplateRenderer.onRender(JspTemplateRenderer.java:76)
      

      Full error message attached.

      Tested module-google-sitemap-1.0.14 on Magnolia 4.3.1 and Magnolia 4.3.8.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgrilli Federico Grilli
              ahietala Antti Hietala
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: