Bug report #10343
Crash in legend with invalid layer
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | Martin Dobias | ||
Category: | Map Legend | ||
Affected QGIS version: | 2.2.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 18764 |
Description
QGIS crashes when a project with invalid layer is opened.
Steps to reproduce:- create a project
- move/rename the data or edit data source name in project
- open the project and click 'Cancel' when asked to select datasource
- click by right mouse button on the invalid layer
Associated revisions
Fix #10343 (legend crash with invalid layer)
Fixed the crash itself in the context menu, but also changed the behavior
to remove any invalid layers from project as currently there is no mechanism
for postponing handling of invalid layers after project load
History
#1 Updated by Martin Dobias over 10 years ago
- Status changed from Open to Closed
Fixed in changeset f57d4063a83bf6e05813583884b522d88d954a4a.