-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 7.1.2, 7.3.1, 7.4.0, 7.6.0, 7.11.2, 7.12.0, 8.9.8, 9.2.5, 9.2.6, 10.0.0-beta2
-
Component/s: Macros - Attachments
-
None
-
16
-
Severity 3 - Minor
-
1
Issue Summary
PDF view macro doesn't render content correctly.
Steps to Reproduce
- Upload PDF to page and save page.
- Enter Edit mode on same page.
- add PDF View macro PDF Macro
- Update page.
Expected Results
PDF is viewable from macro.
Actual Results
PDF doesn't render correctly.

The below exception is thrown in the atlassian-confluence.log file:
020-02-05 16:07:47,691 WARN [attachment-text-extraction-worker-3] [apache.fontbox.ttf.CmapSubtable] processSubtype4 cmap format 4 subtable is empty -- referer: http://localhost:8090/setup/setupadministrator-start.action | url: /setup/finishsetup.action | traceId: fcf7c5cf6116ab9d | userName: anonymous | action: finishsetup
Storage Format:
<ac:layout><ac:layout-section ac:type="two_equal"><ac:layout-cell> <p><br /></p> <p><ac:structured-macro ac:name="view-file" ac:schema-version="1" ac:macro-id="74aa4c09-0873-4d4a-9c64-87b63c4438e6"><ac:parameter ac:name="name"><ri:attachment ri:filename="test.pdf" /></ac:parameter><ac:parameter ac:name="height">250</ac:parameter></ac:structured-macro></p></ac:layout-cell><ac:layout-cell> <p><ac:structured-macro ac:name="viewpdf" ac:schema-version="1" ac:macro-id="fb644118-facb-4aca-a1a7-d6a2e43c9efc"><ac:parameter ac:name="name"><ri:attachment ri:filename="test.pdf" /></ac:parameter></ac:structured-macro></p></ac:layout-cell></ac:layout-section></ac:layout>
Workaround
None
Notes
Other defects didn't fit this issue.
Environment
Linux
PostgreSQL 9.6.16
- relates to
-
CONFSERVER-91650 PDF View Macro fails to render some PDF files
-
- Gathering Impact
-
- is related to
-
JPNS-34490 Loading...