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

Make the HstRequestContext initialization done during creating instead of during the initialization valve

    XMLWordPrintable

Details

    Description

      Originally, the HstRequestContext was primarily targeted to be used during request processing (the pipelines & valves), and not so much during the matching phase. However, for example the HstSiteMapItemHandler kicks in before the initialization valve, and thus has a not yet fully initialized HstRequestContext at that point. A simple call like RequestContextProvider.get().getContentBean() then results in errors, which is very inconvenient. For example HSTTWO-2736 is an issue resulting from this

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: