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

No error handling in {html-include} macro if content is unavailable, not found or has the wrong content-type

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • None
    • 1.3.5
    • None

      I want to use this to display a list of internal build/test environments. Sometimes these are on an old old build, and sometimes they're shut down while a build is being loaded.

      If I use html-include, I get "Error rendering macro: null" when the webserver is down, and when the referenced page doesn't exist, I get the contents of the webserver's 404 error.

      What I'd like to be able to do is display "notfound" and "unavailable" arguments to the macro, e.g.

      {html-include:url=http://todd-viegut:7001/profinia/AppInfo|notfound=old build|unavailable=site down}

            [CONFSERVER-2909] No error handling in {html-include} macro if content is unavailable, not found or has the wrong content-type

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2879000 ] New: CONFSERVER Bug Workflow v4 [ 2987534 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2785529 ] New: JAC Bug Workflow v3 [ 2879000 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2715103 ] New: JAC Bug Workflow v2 [ 2785529 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2381139 ] New: JAC Bug Workflow [ 2715103 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2272999 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2381139 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2223431 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2272999 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2176602 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2223431 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1941276 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2176602 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1739124 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1941276 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1699248 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1739124 ]

              shaffenden Steve Haffenden (Inactive)
              d32fc554e6cd Tim Dawson
              Affected customers:
              2 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: