Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
XRAYCLOUD 2022 Sprint 17, XRAYCLOUD 2022 Sprint 18
Description
Description
Wiki Markup fails whenever there is an Issue Key reference in a Text Custom Field.
Pre-conditions
Reference an EXISTING issue key without quotation marks:
How to reproduce
Export the Custom Field using Wiki:
Actual result/Attachments
The file is exported with an error:
General Exception: java.lang.RuntimeException: java.lang.IllegalStateException: Invalid document model. Operation can not be completed. java.lang.RuntimeException: java.lang.IllegalStateException: Invalid document model. Operation can not be completed. at com.aspose.words.FieldCollection$zzZ.zzZoA(Unknown Source) at com.aspose.words.FieldCollection$zzZ.next(Unknown Source) at java.base/java.lang.Iterable.forEach(Unknown Source) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.AsposeWordConverter.processFieldLinks(AsposeWordConverter.java:473) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.AsposeWordConverter.convert(AsposeWordConverter.java:372) at com.xpandit.xporter.cloud.engine.service.export.service.impl.ExportServiceImpl.handleExport(ExportServiceImpl.java:219) at com.xpandit.xporter.cloud.engine.service.export.service.impl.ExportServiceImpl.export(ExportServiceImpl.java:154) at com.xpandit.xporter.cloud.engine.service.export.utils.PolledDocumentGenerator.generateDocument(PolledDocumentGenerator.java:118) at com.xpandit.xporter.cloud.engine.service.export.utils.PolledDocumentGenerator.listenToQueue(PolledDocumentGenerator.java:77) at com.xpandit.xporter.cloud.engine.service.export.Export.main(Export.java:70) Caused by: java.lang.IllegalStateException: Invalid document model. Operation can not be completed. at com.aspose.words.zzZX5.zzZpF(Unknown Source) at com.aspose.words.zzZX5.zzZ(Unknown Source) at com.aspose.words.zzZX5.zzV(Unknown Source) at com.aspose.words.zzZX5.zzW(Unknown Source) at com.aspose.words.FieldChar.getField(Unknown Source) at com.aspose.words.FieldCollection$zzZ.zzZoA(Unknown Source) ... 9 more
Expected result
The report is exported without issues.
Current Workaround
If the Wiki Markup is strictly necessary, mention the key using quotation marks/double-quotes.
If not, just map the field without the Wiki Markup.
Attachments
Issue Links
- clones
-
XPORTERCLOUD-1979 Wiki is failing whenever there is a Issue Key reference
- Closed
- is cloned by
-
XRAYCLOUD-7092 Wiki is failing whenever there is an Issue Key reference
- Closed