Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11982

QFile::copy() return false but error() is NoError.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.x
    • 4.5.3, 4.6.0, 4.6.1, 4.6.2, 4.6.3, 4.7.0
    • Core: I/O
    • None
    • Linux(Ubuntu 10.04), Mac OS X 10.6, Qt 4.5.3 & 4.6 & 4.7-beta.

    Description

      In some case, QFile::copy() is failed but it's error() is NoError.

      ex.

      • If destination directory is read-only.
      • If destination directory doesn't exist.
      • If destination file-system doesn't allow too long file name.

      Attached test program can reproduce first 2 cases.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            xiecyong chengyong xie
            asaki Takumi ASAKI
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes