Uploaded image for project: 'ZZZ-WSO2 ESB'
  1. ZZZ-WSO2 ESB
  2. ESBJAVA-1313

Smooks mediator - If transformation fails, original file is not moved to "transport.vfs.MoveAfterFailure" location

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 4.5.0 M3
    • Fix Version/s: 4.5.0 M4
    • Component/s: Mediators
    • Labels:
      None
    • Environment:

      ESB 4.5.0, jdk 7

    • Severity:
      Critical
    • Estimated Complexity:
      Moderate

      Description

      If the transformation fails the original input file should go to the location given in "transport.vfs.MoveAfterFailure". But it does not go to that place, it goes to "transport.vfs.MoveAfterProcess" location.

      Steps to reproduce:

      1. Use sample 658
      2. In sample 658 there is a configuration file (smooks-config-658) which you have to set a directory path (<file:destinationDirectoryPattern>) to store the transformed files. Give an invalid path to that so that the transformation should fail.
      3. While executing the sample transformation fails so the original input file should be moved to "transport.vfs.MoveAfterFailure" location but it doesn't.

        Attachments

          Activity

            People

            • Assignee:
              lakmali@wso2.com Lakmali Erandi Baminiwatta
              Reporter:
              nirodha@wso2.com Nirodha Gallage
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: