Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-2545

Macros in #includePage calls cannot access the current HttpServletRequest object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.2
    • 1.3.1
    • None

    Description

      When a macro is executed in a page which is included via #includePage (eg using the 'left-navigation' theme), it gets <code>null</code> back when ServletActionContext.getRequest() is called.

      Also, the same effect is observed when a macro is executed in the 'Site Welcome Message'.

      This makes it difficult to detect the current user (my current problem) as well as things like query parameters, etc.

      Attachments

        Activity

          People

            Unassigned Unassigned
            david@randombits.org David Peterson
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: