We're updating the issue view to help you get more done. 

WFS ignores disabling of stores

Description

WFS service URLs for PostGIS and shapefiles data stores (and presumably others) continue to work even when these stores are disabled.

WMS service requests for a feature type from a disabled store fail with: java.io.IOException: featureType: test:bugsites does not have a properly configured datastore at org.geoserver.wms.MapLayerInfo.getFeatureSource(MapLayerInfo.java:311)

Looks quite similar to (for disabled layers):

WFS/WCS ignores disabling of layers
https://osgeo-org.atlassian.net/browse/GEOS-6538
https://github.com/geoserver/geoserver/commit/8eb8c6b1eec9c70d0c50fd74e628f0cbc7a12ae0

See original user report:
http://osgeo-org.1560.x6.nabble.com/Re-Null-namespace-in-WFS-response-for-layer-based-on-disabled-PostGIS-store-SEC-UNCLASSIFIED-td5290112.html

Environment

None

Status

Assignee

Ben Caradoc-Davies

Reporter

Ben Caradoc-Davies

Triage

None

Fix versions

Affects versions

2.9.2
2.10-RC1
2.11-beta

Components

Priority

Medium