The REST api is simple.

I would expect you are making that call as part of migrating a dataset from
oracle to postgis and will be cleaning up the feature types next.

On Sun, Apr 23, 2023 at 1:51 AM Alexandre Gacon <alexandre.ga...@gmail.com>
wrote:

> Hello,
>
> Currently, if you send a PUT request on a datastore with a totally
> different definition of the datastore (for example, migrating from a
> directory of shapefile to a pregen feature datastore), GeoServer accepts
> the request and you got a 200 return code.
>
> But the GS configuration is totally broken then: the previously created
> feature types and layers are still listed but when you try to use them you
> got error messages.
>
> Shouldn't the endpoint raise an error when we try to change the type of a
> datastore with a PUT method?
>
> --
> Alexandre Gacon
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
-- 
--
Jody Garnett
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to