-
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 |
---|
[JSDSERVER-13298] Assets Confluence Macro export an empty file if the label attribute is not selected in the macro configuration
Fix Version/s | Original: Insight Macro for Confluence 1.7.1 [ 105917 ] | |
Fix Version/s | New: Insight Macro for Confluence 1.7.3 [ 105831 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Status | Original: In Progress [ 3 ] | New: Waiting for Release [ 12075 ] |
Status | Original: Short Term Backlog [ 12074 ] | New: In Progress [ 3 ] |
Fix Version/s | New: Insight Macro for Confluence 1.7.1 [ 105917 ] |
Assignee | New: Benjamin Suess [ c8bcca445054 ] |
Support reference count | New: 1 |
Priority | Original: Low [ 4 ] | New: High [ 2 ] |
Status | Original: Needs Triage [ 10030 ] | New: Short Term Backlog [ 12074 ] |
Description |
Original:
h3. 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 h3. Steps to Reproduce # Import the NVD dataset into Assets # Use this dataset in the Assets Confluence Macro # Do not select ID label when selecting attributes # Export to PDF h3. Expected Results The export should succeed h3. Actual Results This error message will show in the Confluence Logs: {code:java} 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) {code} The export will show a failed PDF: !Screenshot 2023-06-09 at 11.51.06.png|thumbnail! h3. Workaround Include the Label attribute when selecting attributes in the macro. |
New:
h3. 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 h3. 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 h3. Expected Results The export should succeed h3. Actual Results This error message will show in the Confluence Logs: {code:java} 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) {code} The export will show a failed PDF: !Screenshot 2023-06-09 at 11.51.06.png|thumbnail! h3. Workaround Include the Label attribute when selecting attributes in the macro. |