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

QNetworkReply::request() returns bogus QNetworkRequest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Some future release
    • 5.0.0
    • None
    • Reproduced on:
      - Mac OS X Lion.
      - Ubuntu Linux 11.04.
    • ced306d403bf2f8d5ca838a279b73d028a96db03

    Description

      When receiving the QNetworkReply parameter in the authenticationRequired() slot of QNAM, the request() method returns a bogus QNetworkRequest.

      I have attached a testcase that works fine with Qt 4.8.0 from the QtSDK and fails to work with Qt 5.0 (as of 96f49e86ae140b37197cfca988041d997b9c4b8d).

      Qt 4.8.0 run of the testcase:
      $ ./qnam
      Value: QVariant(int, 1337)

      Qt 5.0.0 run of the testcase:
      $ ./qnam
      Bad

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            ahfaeroey Alexander Færøy (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes