Ticket #2375 (closed bug: invalid)
If there is any feature selected, QGIS crashes on exiting.
|Reported by:||trapanator||Owned by:||jef|
|Priority:||critical: causes crash or data corruption||Milestone:||Version 1.5.0|
|Component:||Python plugins and bindings||Version:||Trunk|
|Must Fix for Release:||Yes||Awaiting user input:||no|
I've wrote a python plugin that selects some features and views them on the map.
I found that if there's a particular PostGIS layer and you select some features from a Shapefile Vector layer, exiting QGIS crashes.
To test a plugin, you can download the "Find attribute plugin 0.3" and modify it in order to view the selected features. I'll attach it anyway.
Steps to reproduce:
1) create a PostGIS layer whith the attached code; 2) open QGIS; 3) add the PostGIS layer; 4) add a line multistring shapefile vector layer (i.e. roads); 5) use the Find By Attribute 0.3 plugin and modify it in order to view selected features 6) exit QGIS by clicking on "X" of the window 7) QGIS crashes