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

Xporter should escape the filename during the Post Function operation

    XporterXMLWordPrintable

Details

    • R6.1.0 Sprint 1
    • OK

    Description

      We are getting NullPointer Exception when the user has the char "\" on the filename generated.

      If the filename contains the char "\", Xporter interpreted as a sub-directory.

      Steps to Reproduce the problem:

      • Create a new Multi Action Post Function with actions "Attach File", "Save Locally" and "Send mail".
      • Right a filename for the report generated with the character "\" in the middle of the filename. Example: Filename18\19
      • Execute the Post Function

      Expected Solution:
      We should escape the filename of the report generated

      Currently creates the following:
      Result action "Attach file": Does not generate document
      Result action "Save Locally": Does not generate document
      Result action "Send mail": Generates, but not including "\"

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              tfsi Tiago Silva [X] (Inactive)
              afro Andre Fernandes Rodrigues
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours, 10 minutes
                  1d 2h 10m