Bug 201995

Summary: Marble assert if no network plugin is available
Product: [Applications] marble Reporter: Torsten Rahn <rahn>
Component: generalAssignee: jensmh
Status: RESOLVED FIXED    
Severity: crash CC: jensmh
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: 0.8 (KDE 4.3)   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Torsten Rahn 2009-07-30 14:18:22 UTC
Version:            (using Devel)
Installed from:    Compiled sources

If there is no network plugin installed Marble crashes in HttpDownloadManager (line 282):

    Q_ASSERT( m_networkPlugin );

If would be better if instead of creating an Assert Marble would switch to OfflineMode (this should be quite easy if I'm not wrong).
Additionally it should then create a warning on the command line / or trigger a dialog.
Comment 1 jensmh 2009-07-30 23:42:13 UTC
I fully agree.

Since KDE 4.3.0 is tagged and tarballs are uploaded I changed the target to
Marble 0.8.1 (KDE 4.3.1).
Comment 2 jensmh 2009-08-01 10:34:49 UTC
SVN commit 1005467 by jmhoffmann:

Fix crash in case no network plugin was found.
BUG: 201995


 M  +8 -2      HttpDownloadManager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1005467
Comment 3 jensmh 2009-08-01 10:44:56 UTC
Fixed in trunk with svn revision 1005467. TDB: backport to 4.3.
Comment 4 jensmh 2009-08-25 19:42:37 UTC
SVN commit 1015504 by jmhoffmann:

Fix crash in case no network plugin was found,
fixed in trunk already with svn revision 1005467.
BUG: 201995


 M  +8 -2      HttpDownloadManager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1015504