Skip to content

Updated behaviour of replace transaction in WFS 2.0.0#709

Merged
copierrj merged 3 commits into
deegree:masterfrom
lat-lon:replaceUseExistingId-3529
Aug 17, 2016
Merged

Updated behaviour of replace transaction in WFS 2.0.0#709
copierrj merged 3 commits into
deegree:masterfrom
lat-lon:replaceUseExistingId-3529

Conversation

@dstenger

@dstenger dstenger commented Jun 15, 2016

Copy link
Copy Markdown
Contributor

Previously, when idGenMode useExisting was not activated, a replace transaction of the WFS 2.0.0 generated a new gml:id for the replaced feature (technically, a delete and insert operation is executed).
This is not conform to the specification as a replace transaction should replace an existing feature and not create a new one.

This behaviour was fixed by always activating the UseExisting option for replace transactions. This makes replacements of existing features possbile even if idGenMode useExisting is not activated.

When discussing this pull request, it has to be considered, that the current behaviour of deegree is modified. Now, a replace transaction with disabled UseExisting option uses the gml:id of the feature of the request instead of generating a new gml:id.

In addition, deegree now passes following test of the CITE WFS 2.0 test suite (Transactional CC) [1] when idGenMode useExisting is not activated:

  • "replace Feature"

[1] http://cite.opengeospatial.org/teamengine/

@dstenger dstenger added bug error issue and bug (fix) in progress PR is still under construction labels Jun 15, 2016
@tfr42 tfr42 added this to the 3.4 milestone Jul 7, 2016
@copierrj copierrj merged commit d89d779 into deegree:master Aug 17, 2016
@copierrj copierrj removed the in progress PR is still under construction label Aug 17, 2016
stephanr added a commit to gritGmbH/deegree3 that referenced this pull request Feb 2, 2018
@lgoltz lgoltz deleted the replaceUseExistingId-3529 branch December 8, 2022 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug error issue and bug (fix)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants