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

Response forwarding can lead to stackoverflow

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Outdated
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      For a customer project, the page-not-found mechanism is implemented such that attempts to retrieve non-existent content are redirected to a dedicated page-not-found document. If that document is missing, I experience stack-overflows, as HstFilter#processResolvedSiteMapItem() gets into an infinite recursion.

      Of course, HstFilter cannot solve the problem of the missing document, but I wonder if it should be smart enough to detect the condition and issue a sensible log message rather than a few screens worth of stack backtrace (most of which are identitical).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tjeger Tobias Jeger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: