-
Bug
-
Resolution: Unresolved
-
Low
-
1
-
Severity 3 - Minor
-
Issue Summary
When embedding a Forge macro in a place that renders the macro that uses inline layout we see
instead of the macro. When viewing the HTML for the error we see
”Unhandled adf-node when trying to transform from storage to view format. Node is ac:adf-node”
When exporting the page to PDF, the export function is also not triggered, resulting in empty pages.
This also occurs when viewing Page Templates.
In summary this is affecting:
- rendering in exported files
- rendering in page history
- rendering inside of a page properties report
- rendering inside a Page Template
Steps to Reproduce
For the Page Template example
- Create a Forge Confluence Hello, World macro
- Add layout: 'inline' to the manifest.yml
modules: macro: - key: hello-world-app function: main title: Forge Hello World app description: Inserts Hello world! layout: 'inline' function: - key: main handler: index.run
- In Confluence, go to COG -> Global Templates and Blueprints and click Add global page template
- Add the Hello, World macro: it will appear as expected
- Save the template
- Click on the template name to view the template
Expected Results
Macro or macro placeholder displays as expected.
Actual Results
The below exception is thrown:
”Unhandled adf-node when trying to transform from storage to view format. Node is ac:adf-node”
and we see this in its place
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is duplicated by
-
ECO-97 Forge Macro with layout: 'inline' does not display when viewing a template
- Closed