#1328 closed bug (fixed)
PostGIS layer editing - prepared statement "addfeatures" is not removed on failed saving added features
Reported by: | smizuno | Owned by: | nobody |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Data Provider | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
The situation: a table having a column contraint, such as NOT NULL, on a column other than the object id; used integer type in this case.
- start Editing
- add a feature
- in the Enter Attribute Values dialog make the field that has the constraint have a value that violates the constraint, like a blank field
- stop Editing, save the changes. Gets error message:
...NULL value in column...
- in Attribute Table, fix the value to a valid one.
- now stop Editing, save changes. Gets error message:
...prepared statement "addfeatures" already exists...
Can't get rid of the error until the layer is loaded again.
I was using a multipoint layer, but believe this affects all types.
Note:
See TracTickets
for help on using tickets.
fixed in r9381