Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1744 closed bug (fixed)

Crash when I save an edited postgis layer

Reported by: hdus Owned by: jef
Priority: critical: causes crash or data corruption Milestone: Version 1.2.0
Component: Data Provider Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: Debian
Platform Version: Awaiting user input: yes

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

Attachments (1)

edit_crash.txt (5.5 KB ) - added by hdus 15 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by jef, 15 years ago

Awaiting user input: set

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 r10863? The changes therein shouldn't affect normal editing. It should only add more options when adding new attributes/columns to a layer/table.

by hdus, 15 years ago

Attachment: edit_crash.txt added

in reply to:  1 comment:2 by hdus, 15 years ago

Replying to 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 r10863? 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 -r10862 and everything works fine. When I update with svn up -r10863 QGIS crashes (for further information take a look at the attached file).

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

comment:3 by jef, 15 years ago

Resolution: fixed
Status: newclosed

fixed in r10969

comment:4 by hdus, 15 years ago

Yes now it works! Thank you very much.

Note: See TracTickets for help on using tickets.