Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-711

When escaping a field, processing with javascript and mapping it with html function, the field is not exported.

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release 3.4.8.1, Release 4.1.0.1
    • Release 3.4.9, Release 4.1.1
    • None
    • None
    • R4.1.1 Sprint 1
    • UNCOVERED

    Description

      Examples:

      ${Description} -> Works
      ${escape:Description} -> Works
      
      %{'${Description}'} -> Works
      %{'${escape:Description}'} -> Works
      
      ${%{'${Description}'}} -> Works
      ${%{'${escape:Description}'}} -> Doesn't work
      

      This is a issue when exporting a field as html and it's needed to replace something (<h1> to <h4> or something) and somewhere on the html there are quotes characters (' / ") (therefore the escape needed).

      See attached documents:
      source.txt: source for field to export
      source_noescapeneeded.txt: source for field to export without quotes so behaviour can be tested/compared
      template.docx: template testing some of this cases.

      Attachments

        1. source_noescapeneeded.txt
          0.6 kB
        2. source.txt
          0.7 kB
        3. template.docx
          13 kB
        4. xporter711_5.docx
          16 kB

        Activity

          People

            pmmr Pedro Rodrigues
            mfda mfda
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified