Uploaded image for project: 'GeoServer'
  1. GEOS-8634

Import objects cannot be deleted when in COMPLETE state

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.14-RC
    • Fix Version/s: 2.12.4, 2.13.1
    • Component/s: Importer, REST
    • Labels:

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              aaime Andrea Aime
              Reporter:
              Gnafu Gnafu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: