-
Bug
-
Resolution: Fixed
-
High
-
Insight Macro for Confluence 1.7.0
-
None
-
1
-
Severity 3 - Minor
-
Issue Summary
Assets Confluence Macro export an empty file if the label attribute is not selected in the macro configuration
This is reproducible on Data Center: yes
Steps to Reproduce
- Import the NVD dataset into Assets
- Use this dataset in the Assets Confluence Macro and filter object type Vulnerability as an example
- Do not select ID label when selecting attributes
- Export to PDF
Expected Results
The export should succeed
Actual Results
This error message will show in the Confluence Logs:
ERROR [http-nio-27195-exec-5] [plugins.insight.export.ExportRenderer] render Export fail! -- url: /c7195/spaces/flyingpdf/pdfpageexport.action | page: 12355 | traceId: 123123123 | userName: abcd | referer: url | action: pdfpageexport java.util.NoSuchElementException: Collection contains no element matching the predicate. at com.mindville.confluence.plugins.insight.export.ExportRenderer.getLabelAttributeValue(ExportRenderer.kt:352)
The export will show a failed PDF:
Workaround
Include the Label attribute when selecting attributes in the macro.
Form Name |
---|