Uploaded image for project: 'Apache Hop'
  1. Apache Hop
  2. HOP-3283

Process files transform throws errors on file delete operation

    XMLWordPrintableJSON

Details

    Description

       

      case ProcessFilesMeta.OPERATION_TYPE_DELETE:
        if (!meta.simulate || !data.sourceFile.delete()) {
          throw new HopException(
              BaseMessages.getString(
                  PKG, "ProcessFiles.Error.CanNotDeleteFile", data.sourceFile.toString()));
        }
      

      So if we're not simulating it throws an error on a delete operation.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mcasters Matt Casters
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: