Jakob Miksch ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9fdcbd58f26200726fe1b6
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZTBhYTQ2ZTlhZGYxNGY1YWJlMTU2MjQ2ZDQ1OWQyNWYiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10021?atlOrigin=eyJpIjoiZTBhYTQ2ZTlhZGYxNGY1YWJlMTU2MjQ2ZDQ1OWQyNWYiLCJwIjoiaiJ9
 ) GEOS-10021 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10021?atlOrigin=eyJpIjoiZTBhYTQ2ZTlhZGYxNGY1YWJlMTU2MjQ2ZDQ1OWQyNWYiLCJwIjoiaiJ9
 ) WFS cascading fails for GeoJSON ( 
https://osgeo-org.atlassian.net/browse/GEOS-10021?atlOrigin=eyJpIjoiZTBhYTQ2ZTlhZGYxNGY1YWJlMTU2MjQ2ZDQ1OWQyNWYiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Unassigned Components: WFS, wfs-datastore Created: 
15/Apr/21 1:57 PM Priority: Medium Reporter: Jakob Miksch ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9fdcbd58f26200726fe1b6
 )

Requesting a GeoJSON through a cascaded WFS only works if the "WFS 
GetCapabilities URL" in the WFS store includes `?version=1.0.0` or 
`?version=1.1.0`.

It fails if `?version=2.0.0` or no version at all is provided with this error 
message:

```xml
<ServiceExceptionReport version="1.2.0" 
xsi:schemaLocation="http://www.opengis.net/ogc 
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd ">
<ServiceException>
java.lang.RuntimeException: Parsing failed for FeatureCollection: 
java.lang.RuntimeException: Unable to set property: boundedBy for eobject:

{http://www.opengis.net/wfs/2.0}

FeatureCollectionType Parsing failed for FeatureCollection: 
java.lang.RuntimeException: Unable to set property: boundedBy for eobject:

{http://www.opengis.net/wfs/2.0}

FeatureCollectionType Unable to set property: boundedBy for eobject:

{http://www.opengis.net/wfs/2.0}

FeatureCollectionType java.lang.String cannot be cast to 
net.opengis.wfs20.EnvelopePropertyType
</ServiceException>
</ServiceExceptionReport>
```

* [Thread on Mailinglist] ( 
https://sourceforge.net/p/geoserver/mailman/message/37262372/ )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10021#add-comment?atlOrigin=eyJpIjoiZTBhYTQ2ZTlhZGYxNGY1YWJlMTU2MjQ2ZDQ1OWQyNWYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10021#add-comment?atlOrigin=eyJpIjoiZTBhYTQ2ZTlhZGYxNGY1YWJlMTU2MjQ2ZDQ1OWQyNWYiLCJwIjoiaiJ9
 )

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#100157- 
sha1:a51b698 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to