Commons VFS
  1. Commons VFS
  2. VFS-11

[VFS] copyFrom keep the file with imaginary type

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      If you copy a file to a file that did not exist using the FileObject.copyFrom
      method then the destination file is created but it's status is still imaginary.

      I had the problem when using the <v-copy> task to copy the content of war file
      to a file system with the keepladtmodifiedtime option. Because the file was
      still imaginary after the copy the SetLastModified method failed.

        Activity

        Anthony Goubard created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 38537 12342887
        Henri Yandell made changes -
        Affects Version/s 1.0 Beta 2 [ 12311650 ]
        Key COM-2735 VFS-11
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Project Commons [ 12310458 ] Commons VFS [ 12310495 ]
        Component/s VFS [ 12311136 ]
        Henri Yandell made changes -
        Affects Version/s 1.0 Beta 2 [ 12311836 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Anthony Goubard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development