Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated behaviour of replace transaction in WFS 2.0.0 #709

Merged
merged 3 commits into from
Aug 17, 2016

Conversation

dstenger
Copy link
Contributor

@dstenger dstenger commented Jun 15, 2016

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 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
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