|
Chris Michaelis created an issue |
Issue Type: |
|
---|---|
Affects Versions: |
2.10-beta |
Assignee: |
Unassigned |
Components: |
SQLServer |
Created: |
15/Aug/16 9:47 PM |
Priority: |
|
Reporter: |
Hi there! Using the latest 2.10 snapshot from a few days ago (Aug 11, I believe it was), the SQL Server plugin no longer seems to insert a row in response to a WFS insert transaction. This had been working previously on 2.8 before upgrading to the latest snapshot. The insert transaction just provides a coordinate, no attributes. The SQL Server table has a featid column defined as a primary key, with an insert identity defined. GeoServer sends a query like this (observed using SQL Server Profiler): INSERT INTO “dbo”.“redacted” ( “classid”,“revisionnumber”,“geometry”,“id2”,“easting”,“northing”,“point_id”,“photo2”,“photo1”,“featid” ) VALUES ( 0,0.0,geometry::STGeomFromText(‘POINT (redacted redacted)’,32614),null,null,null,null,null,null,35220) …which makes SQL Server say: Ideally, because featid has an identity defined, that field can just be left off of the query, and it ought to work fine, according to my understanding. As a workaround for now, just removing the identity from the table definition works, but is not ideal. Thank you! |
This message was sent by Atlassian JIRA (v1000.245.0#100009-sha1:7349d1f) |
|