Unable to delete datastore through REST without recurse=true if not the only datastore in the workspace

Description

Deleting a datastore without the recurse parameter set should
fail if there are FeatureTypes configured for that DataStore.

But it fails even if the DataStore is "empty" (i.e. there are no featuretypes/layers configured out of it) but there are other DataStores on the same Workspace

Environment

None

Assignee

Unassigned

Reporter

Gabriel Roldan

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure