HTML Export Only Displays $rendererBean.exportWikiToXHtml($page) as The Content

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After exporting Page or Space to HTML, the content of the pages displayed nothing but:

$rendererBean.exportWikiToXHtml($page) 

Cause

There is a custom or incompatible Export Layout either in the Global level or in the affected Spaces level.

Resolution

  1. Run the following SQL query to detect the culprit:

    SELECT DECORATORID, SPACEKEY FROM DECORATOR WHERE BODY LIKE '%$rendererBean.exportWikiToXHtml($page)%';

    Note down the DECORATORID from the result.

  2. Backup Confluence database or just simply backup the custom layout in the above result if necessary
  3. Delete them by running this query:

    DELETE FROM DECORATOR WHERE DECORATORID = Decorator-ID-From-The-Above-Result;
  4. Restart Confluence
Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.