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

Error performing post function when exporting a TXT template using the output XML

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 6.5.1
    • 6.5.4
    • Workflow Post Function
    • None
    • OK

    Description

      Error when using a Post function to export a TXT template using the output XML.

      Logs

      2020-07-17 10:58:33,939 http-nio-7221-exec-19 ERROR admin 658x19396x1 as78ux 10.20.10.110 /secure/CommentAssignIssue.jspa [c.x.jiraxporter.workflow.XporterPostFunctionAction] Error performing post function
      com.xpandit.jiraxporter.exceptions.UnableToCreateScheduledReportException: The filename : teste.xml is invalid. Please verify your configuration.
      	at com.xpandit.jiraxporter.manager.impl.ExecutionValidationServiceImpl.validateFilenameExtension(ExecutionValidationServiceImpl.java:124)
      	at com.xpandit.jiraxporter.manager.impl.ExecutionValidationServiceImpl.validateWfPostFunctionConfig(ExecutionValidationServiceImpl.java:97)
      	at com.xpandit.jiraxporter.workflow.XporterPostFunctionAction.execute(XporterPostFunctionAction.java:559)
      	at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1014)
      	at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1407)
      

      Pre Conditions
      The user should already have a TXT template added in Xporter, to be able to export to the XML format in the Post function.

      Steps to reproduce

      Step Result
      Create an Xporter Multi-Action - Select a TXT template with the output XML
      Change the Workflow status to trigger the Post function

      Attachments

        Activity

          People

            jmlg Joao Goncalves [X] (Inactive)
            maaf Miguel Fernandes
            Votes:
            1 Vote for this issue
            Watchers:
            1 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 - 3 hours, 30 minutes
                3h 30m