Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.17.1
-
Severity 3 - Minor
-
Description
Issue Summary
When implementing StreamableMacro#executeToStream(Map<String,String> parameters, Streamable body, ConversionContext context) for a macro that is called from a template the ConversionContext isn't fully populated.
Reference
- https://docs.atlassian.com/ConfluenceServer/javadoc/7.17.1/com/atlassian/confluence/macro/StreamableMacro.html
- https://docs.atlassian.com/ConfluenceServer/javadoc/7.17.1/com/atlassian/confluence/content/render/xhtml/ConversionContext.html
This is reproducible on Data Center: yes
Steps to Reproduce
- Create a P2 plugin with a macro
- Implement StreamableMacro
- Open a template and use the macro
Expected Results
The values in ConversionContext are provided, e.g. space, etc.
Actual Results
ConversionContext lacks a lot of expected data.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Attachments
Issue Links
- relates to
-
DEVHELP-14836 Loading...