Fran Perucic ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae1bb5e63-8495-4b23-8318-3261ec4dd36f ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMmUxNzU2YWYxNmVhNDRiZWI2ODU3YWQ2NWY3ZDRkMTEiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-9820?atlOrigin=eyJpIjoiMmUxNzU2YWYxNmVhNDRiZWI2ODU3YWQ2NWY3ZDRkMTEiLCJwIjoiaiJ9 ) GEOS-9820 ( https://osgeo-org.atlassian.net/browse/GEOS-9820?atlOrigin=eyJpIjoiMmUxNzU2YWYxNmVhNDRiZWI2ODU3YWQ2NWY3ZDRkMTEiLCJwIjoiaiJ9 ) WFS-T Insert returns FeatureId null ( https://osgeo-org.atlassian.net/browse/GEOS-9820?atlOrigin=eyJpIjoiMmUxNzU2YWYxNmVhNDRiZWI2ODU3YWQ2NWY3ZDRkMTEiLCJwIjoiaiJ9 ) Issue Type: Bug Affects Versions: 2.18.0, 2.18.1 Assignee: Unassigned Attachments: Screenshot_2020-12-07 GeoServer Edit Vector Data Source.png, XU8LpSNfWQvdQC2BMhGHTr.gpkg, image-2020-12-07-12-56-02-163.png Created: 07/Dec/20 12:56 PM Environment: Ubuntu 20.04.1 LTS Priority: Medium Reporter: Fran Perucic ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae1bb5e63-8495-4b23-8318-3261ec4dd36f ) (Similar to [https://osgeo-org.atlassian.net/browse/GEOS-7875|this issue] ) I have a GPKG store + layer. I'm inserting new features into it via WFS-T. The returned response (within InsertResults) does not contatin propper FeatureIds, all are null. but after a normal WFS BBOX request I get a proper featureID. It worked as expeced in 2.16.1., but after update to (2.18.0 & 2.18.1) it stared to return null. I also tested it localy on a clean 2.18.1. instalation. curl 'http://localhost:8080/geoserver/test/wfs' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0' -H 'Accept: */* ' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'authorization: Basic YWRtaW46Z2Vvc2VydmVy' -H 'content-type: application/xml' -H 'Origin: moz-extension://0c81c1bd-f264-4cda-88c6-4d0333c3b2a9' -H 'DNT: 1' -H 'Connection: keep-alive' -H 'Cookie: JSESSIONID=E5AD56250AC82F8AB78265B853EFBCBA; JSESSIONID=C558D00BFD36F97BAC33A259EC23D4EE' --data-raw $'<?xml version="1.0" encoding="UTF-8"?>\n<wfs:Transaction service="WFS" version="2.0.0" xmlns:fes="http://www.opengis.net/fes/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:wfs="http://www.opengis.net/wfs/2.0">\n <wfs:Insert>\n <XU8LpSNfWQvdQC2BMhGHTr>\n <the_geom>\n <gml:Polygon srsName="urn:ogc:def:crs:EPSG::3765">\n <gml:exterior>\n <gml:LinearRing>\n <gml:posList>489829.800939332 5123926.52154055 489821.487554646 5123880.47817922 489903.342419243 5123852.34056951 489907.179366021 5123904.13935101 489879.681247445 5123932.91645185 489870.72837163 5123940.5903454 489829.800939332 5123926.52154055</gml:posList>\n </gml:LinearRing>\n </gml:exterior>\n </gml:Polygon>\n </the_geom>\n<fid>45</fid>\n </XU8LpSNfWQvdQC2BMhGHTr>\n </wfs:Insert>\n</wfs:Transaction>' {{ <?xml version="1.0" encoding="UTF-8"?> <wfs:TransactionResponse xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fes="http://www.opengis.net/fes/2.0" xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0.0" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://localhost:8080/geoserver/schemas/wfs/2.0/wfs.xsd "> <wfs:TransactionSummary> <wfs:totalInserted> 1 </wfs:totalInserted> <wfs:totalUpdated> 0 </wfs:totalUpdated> <wfs:totalReplaced> 0 </wfs:totalReplaced> <wfs:totalDeleted> 0 </wfs:totalDeleted> </wfs:TransactionSummary> <wfs:InsertResults> <wfs:Feature> <fes:ResourceId rid="XU8LpSNfWQvdQC2BMhGHTr.null"/> </wfs:Feature> </wfs:InsertResults> </wfs:TransactionResponse> }} ( https://osgeo-org.atlassian.net/browse/GEOS-9820#add-comment?atlOrigin=eyJpIjoiMmUxNzU2YWYxNmVhNDRiZWI2ODU3YWQ2NWY3ZDRkMTEiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-9820#add-comment?atlOrigin=eyJpIjoiMmUxNzU2YWYxNmVhNDRiZWI2ODU3YWQ2NWY3ZDRkMTEiLCJwIjoiaiJ9 ) Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100152- sha1:e0a36d8 )
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
