Bug report #6525

The WFS provider repeats the field with PK

Added by aperi2007 - about 12 years ago. Updated over 11 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Web Services clients/WFS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:15741

Description

Hi,
using the wfs client on qgis-dev.
When I try to add a new record (a point in my test), a windows appears with the field to fill.
The first field (named id) is the PK for my table.
If I leave that field empty, the creation will do all ok because the id field is a serial type.

But if I fill the id field with a value, qgis sends an insert to the wfs server with two id fields.

I add two screen images to explain this bug better.

img-1.jpg - the windows with all the fields (17.2 KB) aperi2007 -, 2012-10-16 11:52 AM

img-2.jpg - the error result if I fill the id field in the window (10.1 KB) aperi2007 -, 2012-10-16 11:52 AM

History

#1 Updated by aperi2007 - about 12 years ago

Hi,
I tested more.
The duplicate happen also if the PK is integer type and not only if serial type.
This is a bit more bad because the serial is autofill, instead the integer simple type is not autofill.
So this is really a blocking issue for wfs usage.

#2 Updated by Jürgen Fischer about 12 years ago

  • Subject changed from The WFS provider repat the filed with PK to The WFS provider repeats the field with PK

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

  • Status changed from Open to Feedback

aperi2007 - wrote:

The duplicate happen also if the PK is integer type and not only if serial type.

Is this still an issue? I can't reproduce it.

#4 Updated by aperi2007 - over 11 years ago

  • Resolution set to invalid
  • Status changed from Feedback to Closed

Sorry,
butI'm no more able to test this. The wfs server is not available.

I guess this is closable if the issue is no more reproduceable.

Also available in: Atom PDF