Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not a Problem
-
None
-
None
-
Xray 2024 S3, Xray 2024 S4
-
Description
Description
Document Generator is not exporting custom fields that have text with quote ' on it.
The use of " is supported.
Pre-conditions
Add the following data to the description field:
asd'
And create template with this code:
#{if (%{‘${Description}’.equals('')})} None #{end} #{if (%{!’${Description}’.equals('')})} ${wiki:Description} #{end} ----------- #{if (%{"${Description}".equals('')})} None #{end} #{if (%{!"${Description}".equals('')})} ${wiki:Description} #{end}
How to reproduce
- Run the template
Actual result/Attachments
No data is being generated when mapping the field with '${Description}', with "${Description}" works!
Expected result
Expected to generate the data of the field for any of the quotes surrounding the mapping
Version
Tested with the version of the client and the latest (6.3.2)