[Geoserver-devel] [JIRA] (GEOS-8634) Import objects cannot be deleted via REST if they have tasks

Gnafu created an issue

GeoServer / BugGEOS-8634

Import objects cannot be deleted via REST if they have tasks

Issue Type:

BugBug

Affects Versions:

2.14-beta

Assignee:

Unassigned

Components:

Importer, REST

Created:

14/Mar/18 3:06 PM

Priority:

MediumMedium

Reporter:

Gnafu

Trying to remove a COMPLETED import using the REST interface will fail if the import has tasks.

Example, this is not working
curl -X DELETE https://server.com/geoserver/rest/imports/12

Removing the tasks will allow the import object to be removed.

This works:
curl -X DELETE https://server.com/geoserver/rest/imports/12/tasks/0
curl -X DELETE https://server.com/geoserver/rest/imports/12

No message appear in the log

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100082-sha1:b581f55)

Atlassian logo