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

QTemporaryFile::rename() overwrites existing file on Android

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.10.0 Beta2
    • Core: I/O
    • None
    • Android
    • 569928b64 (dev), 2089164ed (6.10), 03a1ba769 (6.9), 1a8742743 (tqtc/lts-6.8), b9195d3f3 (tqtc/lts-6.5)

      We were lacking tests that check QTemporaryFile::rename() vs. existing files. It turns out that the Android implementation overwrites existing target files while the other platforms fail in that case.

      The newly-added test: https://codereview.qt-project.org/c/qt/qtbase/+/660954

      I will QEXPECT_FAIL that test for now.

        For Gerrit Dashboard: QTBUG-138610
        # Subject Branch Project Status CR V

            thiago Thiago Macieira
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes