Manipulating a cached WFS layer causes application crash #19396
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
Data Provider
Related to specific vector, raster or mesh data providers
Milestone
Author Name: James Nunn (James Nunn)
Original Redmine Issue: 11062
Affected QGIS version: 2.4.0
Redmine category:web_services_clients/wfs
Also noted at: [http://gis.stackexchange.com/questions/110651/qgsmaplayerregistry-removemaplayerswfs-layer-causes-crash]
First I loaded a single WFS layer (from Geoserver) into QGIS 2.4 using the standard 'Add WFS layer' dialog, keeping the 'Cache features' option checked. Then in the Python console, typed the following code:
Then one of the following lines:
These cause a crash to desktop with no warnings, errors or dumps.
If I add a layer by unchecking the 'Cache features' option, none of the problems occur. I am also trying to add the the layer using pyqgis, and to work around this will probably have to insert a precalculated bbox parameter in the WFS url.
Related issue(s): #18829 (relates)
Redmine related issue(s): 10413
The text was updated successfully, but these errors were encountered: