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

Process files transform throws errors on file delete operation

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment