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

Add RenderContext information to exceptions that filter through the Wiki Renderer

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Consider the following scenario:

      • You are running a public Confluence installation that contains uncountable uses of {a-macro}
      • One of those instances on a page somewhere is throwing exceptions
      • You didn't trigger the exception and can assume the user didn't report the red "bad macro" they saw on screen.

      In the logs all you will see is a stacktrace which ripples from the macro's class through the renderer and beyond. Unfortunately there's no contextual information.

      1. Which ceo ID was this being rendered against? (if any)
      2. Which username was logged in at the time? (if any)

      There may be other contextual information, but I would like to get the rendering exceptions (where possible) to give me as much contextual information so I can replicate ... the easiest way I can think of doing that is to catch and rethrow/log the runtime & macro exceptions, but tag on the context to the exception message.

            [CONFSERVER-7878] Add RenderContext information to exceptions that filter through the Wiki Renderer

            Sen made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3570004 ] New: JAC Suggestion Workflow 3 [ 4333728 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3178741 ] New: JAC Suggestion Workflow 4 [ 3570004 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3037922 ] New: JAC Suggestion Workflow 2 [ 3178741 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2534567 ] New: JAC Suggestion Workflow [ 3037922 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2295432 ] New: Confluence Workflow - Public Facing v4 [ 2534567 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2190485 ] New: Confluence Workflow - Public Facing v3 [ 2295432 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1924139 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2190485 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v2 [ 1754947 ] New: Confluence Workflow - Public Facing v3 [ 1924139 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Suggestion WF (TEMP) [ 1683687 ] New: Confluence Workflow - Public Facing v2 [ 1754947 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing [ 1361696 ] New: CONF Suggestion WF (TEMP) [ 1683687 ]

              christopher.owen@atlassian.com Christopher Owen [Atlassian]
              dhardiker Dan Hardiker
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: