Ne Admin (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f913ef90e068b0076791687
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMTdlODhlMTJhN2UwNGFiY2FjZGUxNTM1NTNkODA0ZTQiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-9777?atlOrigin=eyJpIjoiMTdlODhlMTJhN2UwNGFiY2FjZGUxNTM1NTNkODA0ZTQiLCJwIjoiaiJ9
) GEOS-9777 (
https://osgeo-org.atlassian.net/browse/GEOS-9777?atlOrigin=eyJpIjoiMTdlODhlMTJhN2UwNGFiY2FjZGUxNTM1NTNkODA0ZTQiLCJwIjoiaiJ9
) The rest api post /workspaces/<ws>/datastores/<ds>/featuretypes doesn't work
(
https://osgeo-org.atlassian.net/browse/GEOS-9777?atlOrigin=eyJpIjoiMTdlODhlMTJhN2UwNGFiY2FjZGUxNTM1NTNkODA0ZTQiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.17.3, 2.16.0, 2.16.1, 2.16.2, 2.16.3,
2.16.4, 2.16.5, 2.17.0, 2.17.1, 2.17.2, 2.18.0 Assignee: Unassigned
Attachments: Screenshot_699.png, Screenshot_700.png, geoserver.log,
geoserver_2.17.1.response, geoserver_2.17.3.response, geoserver_2.18.0.response
Components: REST Created: 22/Oct/20 11:53 AM Environment:
Windows 10 LTS, JRE 1.8.0.261, Apache Tomcat 9.0, GeoServer 2.15.5...2.18.0
Priority: Medium Reporter: Ne Admin (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f913ef90e068b0076791687
)
The rest api post /workspaces/<ws>/datastores/<ds>/featuretypes doesn't work
https://docs.geoserver.org/stable/en/user/rest/api/featuretypes.html
let xml = `<featureType>
<name>LayerTestPublic</name>
<title>LayerTestPublic</title>
<nativeName>LayerTest</nativeName>
<nativeCRS>EPSG:4326</nativeCRS>
<projectionPolicy>NONE</projectionPolicy>
</featureType>`;
let response = await fetch( 'http:
//localhost:8080/geoserver/rest/workspaces/test/datastores/LayerTest/featuretypes'
, {
method: 'POST' ,
headers: {
'Authorization' : 'Basic ' + btoa( "admin:geoserver" ),
'Content-Type' : 'application/xml'
},
body: xml
});
GeoServer 2.15.5 -> response HTTP 201
GeoServer 2.16.0...2.18.0 -> response HTTP 500 and Java Exception
Manually publishing a layer (via the web interface) works correctly
GeoServer 2.17.1 (my production and main test server) response exception:
geoserver_2.17.1.response (
https://osgeo-org.atlassian.net/secure/attachment/33581/33581_geoserver_2.17.1.response
)
GeoServer 2.17.3 (my additional test server) response exception:
geoserver_2.17.3.response (
https://osgeo-org.atlassian.net/secure/attachment/33580/33580_geoserver_2.17.3.response
)
GeoServer 2.18.0 (my additional test server) response exception:
geoserver_2.18.0.response (
https://osgeo-org.atlassian.net/secure/attachment/33579/33579_geoserver_2.18.0.response
) geoserver.log (
https://osgeo-org.atlassian.net/secure/attachment/33582/33582_geoserver.log )
(
https://osgeo-org.atlassian.net/secure/attachment/33584/33584_Screenshot_699.png
) (
https://osgeo-org.atlassian.net/secure/attachment/33583/33583_Screenshot_700.png
)
Please check the functionality of the REAT API. Starting from version 2.16.0,
some features do not work.
(
https://osgeo-org.atlassian.net/browse/GEOS-9777#add-comment?atlOrigin=eyJpIjoiMTdlODhlMTJhN2UwNGFiY2FjZGUxNTM1NTNkODA0ZTQiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-9777#add-comment?atlOrigin=eyJpIjoiMTdlODhlMTJhN2UwNGFiY2FjZGUxNTM1NTNkODA0ZTQiLCJwIjoiaiJ9
)
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#100149-
sha1:bda4d1c )_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel