#1032 closed defect (fixed)
QGIS crashes when I load a wrong symbol-style file
Reported by: | hdus | Owned by: | timlinux |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Symbology | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
When I try to load a symbol-style *.qml file which doesn't correspond whith the relevant layer => QGIS crashes.
I can reproduce the same behaviour when I create a symbol-style file based on a PostGIS layer.
- Load a PostGIS Layer and create a symbol-style *.qml
- Save this PostGIS layer as a shape-file.
- Load the created symbol-style file to the shape-file
- QGIS also crashes.
Change History (4)
comment:1 by , 16 years ago
Status: | new → assigned |
---|
comment:2 by , 16 years ago
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed with recent changes to SVN trunk.
Note:
See TracTickets
for help on using tickets.
Hi
When applying a qml from one layer to another layer the result will be undefined. That said QGIS should never crash, but rather gracefully warn you of the situation. I will look at how we can address this.
Tim