Bug report #1744

Crash when I save an edited postgis layer

Added by Horst Düster over 14 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:Jürgen Fischer
Category:Data Provider
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:11804

Description

Since r10863 QGIS crashes when I try to save an edited postgis layer. The changeset from r10862 to r10863 shows that there were made some changes at the qgsdatapovider.

1. Load Postgis Layer
2. Toggle editing mode
3. Make some edits
4. Toggle editing mode and click save
5. => QGIS crash

edit_crash.txt Magnifier (5.49 KB) Horst Düster, 2009-06-23 04:57 AM

Associated revisions

Revision df419770
Added by Jürgen Fischer over 14 years ago

fix #1744

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10969 c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision f76f8a94
Added by Jürgen Fischer over 14 years ago

fix #1744

git-svn-id: http://svn.osgeo.org/qgis/trunk@10969 c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Jürgen Fischer over 14 years ago

I edit regularly and didn't have any crashes. Can you give more detail about the layers you edit and/or the editing you do?

And are you sure the problem appeared with 3e01e6d3 (SVN r10864)? The changes therein shouldn't affect normal editing. It should only add more options when adding new attributes/columns to a layer/table.

#2 Updated by Horst Düster over 14 years ago

Replying to [comment:1 jef]:

I edit regularly and didn't have any crashes. Can you give more detail about the layers you edit and/or the editing you do?

And are you sure the problem appeared with 3e01e6d3 (SVN r10864)? The changes therein shouldn't affect normal editing. It should only add more options when adding new attributes/columns to a layer/table.

Yes I'm shure. I updated qgis source with svn up -d8b93214 (SVN r10863) and everything works fine. When I update with svn up -3e01e6d3 (SVN r10864) QGIS crashes (for further information take a look at the attached file).

All types of layers (Point, Linestring, Polygon) leeds to crash.

#3 Updated by Jürgen Fischer over 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in f76f8a94 (SVN r10970)

#4 Updated by Horst Düster over 14 years ago

Yes now it works! Thank you very much.

Also available in: Atom PDF