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

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.1.0
    • 1.0.2
    • Bearer Management
    • None
    • Qt 4.6.3
      QtMobility 1.0.2
      Symbian 3.2 & 5.0 on various devices and S60 emulators
      Maemo 5 on N900
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: