Details
-
Bug
-
Resolution: Timed out
-
Medium
-
None
-
4.3.1
-
None
Description
In some of my pages I use customware reporting macroses inside noprint macros (to exclude some content from pdf export). Everything is ok, if reporting macros returns any data, if no - noprint works incorrect - it hides rest of page in pdf export.
The simples way to reproduce(without customware macroses):
- Create blank user macros:
- Macro name: blank
- Macro Title: blank
- Macro Body Processing: no macro body
- Template:
## @noparams
- Create test page:
<ac:macro ac:name="noprint"> <ac:parameter ac:name="atlassian-macro-output-type">BLOCK</ac:parameter> <ac:rich-text-body> <ac:macro ac:name="panel"> <ac:rich-text-body> <ac:macro ac:name="blank"/> </ac:rich-text-body> </ac:macro> </ac:rich-text-body> </ac:macro> <h3>Hello world</h3>
- Save page
- Export to pdf
Result
- No "Hello world" text in pdf
P.S.
- Instead of panel you can use also expan - result will be the same
- The simplest solution is just to put
<p> </p>
after
<ac:macro ac:name="blank"/>
or inside blank macros. But this is not good )
Attachments
Issue Links
- is blocked by
-
CONFSERVER-54840 Adding "noprint" class to content has no effect in PDF Exports
- Gathering Impact