-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[GEOS-11373] : Geometry type mismatch in WFS 1.1.0 #4773
Conversation
This seems an important fix, it requires a test case before I can review it? |
Hi @jodygarnett , Unit test added |
@@ -12969,7 +12970,7 @@ private static AttributeType build_MULTISURFACEPROPERTYTYPE_TYPE() { | |||
AttributeType builtType = | |||
new AttributeTypeImpl( | |||
new NameImpl("http://www.opengis.net/gml", "MultiSurfacePropertyType"), | |||
MultiSurface.class, | |||
org.geotools.geometry.jts.MultiSurface.class, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use a fully qualified class when it is imported?
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-31.x 31.x
# Navigate to the new working tree
cd .worktrees/backport-31.x
# Create a new branch
git switch --create backport-4773-to-31.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 5fdfba3124e009be72f0beb260c7c53cff7d2192,149af2ba19d1b05f69410a759f79bac06610b9cc,8d369eee8a561e88b16f827936292f9c4e34660a,c8298b15b236029cc12186482223b168fbd44ac3
# Push it to GitHub
git push --set-upstream origin backport-4773-to-31.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-31.x Then, create a pull request where the |
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-30.x 30.x
# Navigate to the new working tree
cd .worktrees/backport-30.x
# Create a new branch
git switch --create backport-4773-to-30.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 5fdfba3124e009be72f0beb260c7c53cff7d2192,149af2ba19d1b05f69410a759f79bac06610b9cc,8d369eee8a561e88b16f827936292f9c4e34660a,c8298b15b236029cc12186482223b168fbd44ac3
# Push it to GitHub
git push --set-upstream origin backport-4773-to-30.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-30.x Then, create a pull request where the |
Automatic backports failed. Also a note, I had to make a change in the GeoSever "features-templating" community module as it depended on the class that has just been removed. |
* Geometry type mismatch in WFS 1.1.0 * Replace org.geotools.gml3.MultiSurface by org.geotools.geometry.jts.MultiSurface * remove fully qualified class name MultiSurface * Relaunch CI --------- Co-authored-by: ROPARTZ Erwan DTSI/DSI <erwan.ropartz@orange.com>
Checklist
main
branch (backports managed later; ignore for branch specific issues).For core and extension modules:
[GEOT-XYZW] Title of the Jira ticket
.