Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1374

Add an implicit catchall ** sitemap matcher when there is no explicit catchall matcher configured

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.10.01
    • 2.10.02
    • None
    • None

    Description

      Because developers frequently forget to add an explicit catchall sitemap matcher at the root level, resulting in servlet container exceptions, the HST will provide a default one if it is not configured explicitly. Thus:

      To avoid something like:

      SEVERE: Servlet.service() for servlet HstContainerServlet threw exception
      org.hippoecm.hst.core.container.ContainerNotFoundException: Resolved
      siteMapItem does not contain a ComponentConfiguration that can be
      resolved./doesnotexist
      at org.hippoecm.hst.core.container.ContextResolvingValve.invoke(ContextResolvingValve.java:135)
      at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:97)
      at org.hippoecm.hst.core.container.SiteResolvingValve.invoke(SiteResolvingValve.java:76)
      at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:97)
      at org.hippoecm.hst.core.container.HstURLValve.invoke(HstURLValve.java:53)
      at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:97)
      at org.hippoecm.hst.core.container.HstSitePipeline.invokeValves(HstSitePipeline.java:66)
      at org.hippoecm.hst.core.container.HstSitePipeline.invoke(HstSitePipeline.java:57)
      at org.hippoecm.hst.core.container.HstRequestProcessorImpl.processR

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: