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

XMLWordPrintable

    • 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}

              shaffenden Steve Haffenden (Inactive)
              d32fc554e6cd Tim Dawson
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: