Thanks for your reply, but unfortunately I am not into Java development.
Cheers,
Anton
—
On 13 Mar 2014, at 08:52, Andrea Aime <[email protected]> wrote:
> On Wed, Mar 12, 2014 at 4:45 PM, Anton Bakker <[email protected]> wrote:
> Hi list,
>
> I have been using the Geoserver REST API to delete layers and have discovered
> some unwanted behaviour. I cannot delete a layer (from a shapefile
> datastore) that has been previewed before. The steps to replicate the
> behaviour are:
>
> 1) Preview the layer in browser:
>
> http://localhost:8080/geoserver/wms/reflect?format=application/openlayers&layers=cite:LuchtKwaliteitArc&width=512&height=370&format=application/openlayers
> 2) Delete the layer
> curl -X DELETE -u user:password
> "http:/localhost:8080/geoserver/rest/layers/cite:LuchtKwaliteitArc”
> 3) Delete the feature type
> curl -X DELETE -u user:password
> "http://localhost:8080/geoserver/rest/workspaces/cite/datastores/LuchtKwaliteitArc/featuretypes/LuchtKwaliteitArc”
> 4) Delete the store
> curl -X DELETE -u user:password
> "http://localhost:8080/geoserver/rest/workspaces/cite/datastores/LuchtKwaliteitArc"
>
> On step 3 I get a HTTP 500. It seems that this sneaked up in the 2.4
> release, since this behaviour occurs in GS 2.4.5, but not in GS 2.3.5. Did
> anyone experience the same issue?
>
> Stacktrace GS log: http://pastebin.com/XAy8ykQU
>
> Possibly related bug:
> http://jira.codehaus.org/browse/GEOS-6199?jql=text%20~%20%22500%20error%20on%20REST%20layer%20and%20store%20delete%22
>
> Yes, I believe this is the same bug.
> If you have java development abilities a patch/pull request would be welcomed
> :-)
>
> Cheers
> Andrea
>
> --
> ==
> Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
> for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel