Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-56

WebDAV Wagon putDirectory fails when multiple directories in path don't exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.0-beta-1, 1.0-beta-2
    • 1.0-beta-2
    • wagon-webdav
    • None

    Description

      The implementation of the 'putDirectory' method isn't properly checking that all directories (WebDAV collections) have been created. I've attached a patch that reworks the 'putDirectory' such that it relies on the 'put' method for each upload. This will guarantee that all file uploads are treated the same way and resolves this issue, as the 'put' method implements the appropriate directory checks.

      Attachments

        1. webdavwagon_putdirectory.diff
          2 kB
          Nathan Beyer
        2. wagontestcase_deepdest.diff
          3 kB
          Nathan Beyer

        Activity

          People

            carlos Carlos Sanchez Gonzalez
            nbeyer_cerner Nathan Beyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: