Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-514

QNetworkSession uses different error codes when user cancels accesspoint selection in different platforms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.1.0
    • Component/s: Bearer Management
    • Labels:
      None
    • Environment:
      Qt 4.6.3
      QtMobility 1.0.2
      Symbian 3.2 & 5.0 on various devices and S60 emulators
      Maemo 5 on N900
    • Commits:
      f2b6d463f59e1ed05cbe230a2d1645500c878281

      Description

      1. Start opening a connection with QNetworkSession::open() with QNetworkConfigurationManager::defaultConfiguration(). Default in the device is 'Always ask'
      2. Accesspoint selection dialog is opened
      3. User cancels the accesspoint selection dialog
      4. QNetworkSession emits error()-signal

      Expected result
      In all platforms, the emitted error code is QNetworkSession::SessionAbortedError

      Actual result
      In Symbian, the error code is correctly QNetworkSession::SessionAbortedError
      but in Maemo5 the error code is QNetworkSession::InvalidConfigurationError which is used for several other error cases too. This makes it impossible to detect whether the connection creation failed because user canceled it, or if there was a legitimate error

        Attachments

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

          Activity

            People

            Assignee:
            alex Alex (closed Nokia identity) (Inactive)
            Reporter:
            julle Juha Riikonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes