Bug 201995 - Marble assert if no network plugin is available
Summary: Marble assert if no network plugin is available
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: 0.8 (KDE 4.3)
Assignee: jensmh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-30 14:18 UTC by Torsten Rahn
Modified: 2013-10-20 08:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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