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

[OAPIF] Server defined fields are not fetched when creating a new feature #57486

Closed
3nids opened this issue May 19, 2024 · 0 comments · Fixed by #57547
Closed

[OAPIF] Server defined fields are not fetched when creating a new feature #57486

3nids opened this issue May 19, 2024 · 0 comments · Fixed by #57547
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@3nids
Copy link
Member

3nids commented May 19, 2024

What is the bug or the crash?

If you create a feature on an OAPIF layer which has some server defined default values, these values stay as defined on feature creation on QGIS side.

This is valid both for the ìd` primary key and any other field/property.

see discussion 2924f3e#r142164114

@3nids 3nids added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 19, 2024
3nids referenced this issue May 19, 2024
…es Part 4)

- Issues OPTIONS on /collections/{coll_id} and collections/{coll_id}/{feature_id}
  endpoints to check server capabilities
- Add support for addFeature() through POST /collections/{coll_id} endpoint
- Add support for changeGeometryValues()/changeAttributeValues() through
  PUT /collections/{coll_id}/{feature_id} endpoint.
  Or through PATCH /collections/{coll_id}/{feature_id} with just the
  updated subset, if available
- Add support for deleteFeatures() through
  DELETE /collections/{coll_id}/{feature_id} endpoint.
- For POST/PUT/PATCH, takes into account Part 2 (CRS support) when implemented
  by the server.
@rouault rouault self-assigned this May 23, 2024
rouault added a commit to rouault/QGIS that referenced this issue May 23, 2024
rouault added a commit to rouault/QGIS that referenced this issue May 23, 2024
nyalldawson pushed a commit that referenced this issue May 23, 2024
nyalldawson pushed a commit that referenced this issue May 23, 2024
qgis-bot pushed a commit that referenced this issue May 23, 2024
qgis-bot pushed a commit that referenced this issue May 23, 2024
nyalldawson pushed a commit that referenced this issue May 24, 2024
nyalldawson pushed a commit that referenced this issue May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
2 participants