Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
1.0.2
-
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
- Start opening a connection with QNetworkSession::open() with QNetworkConfigurationManager::defaultConfiguration(). Default in the device is 'Always ask'
- Accesspoint selection dialog is opened
- User cancels the accesspoint selection dialog
- 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