Bug report #12477
removing programmatically generated field while attribute table is open crashes QGIS
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | - | ||
Affected QGIS version: | 2.8.1 | Regression?: | No |
Operating System: | Ubuntu | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 20625 |
Description
Hi,
when doing the following I can consistently crash qgis:
- load shp
- open attribute table
- programmatically add a field do the SHP
- remove a field using the attribute table GUI
the attached script crashes qgis 2.8.1 when executed in the python console.
Associated revisions
fix crash attribute table crash when attributes are added/removed bypassing vector layer (fixes #12477)
fix crash attribute table crash when attributes are added/removed bypassing vector layer (fixes #12477)
(cherry picked from commit 316210d62255729600edfe0ab8b3b43312725be5)
History
#1 Updated by Jürgen Fischer over 9 years ago
- Assignee deleted (
Jürgen Fischer)
#2 Updated by Jürgen Fischer over 9 years ago
- Status changed from Open to Closed
Fixed in changeset 316210d62255729600edfe0ab8b3b43312725be5.