| When doing a PUT request against a feature type to change the cqlFilter, any layers backed by that featureType get disabled.
curl -v -u admin:geoserver -XPUT -H "Content-type: text/xml" http:
It looks like this occurs because GeoServer is constructing a new FeatureTypeInfo object from the request parameters, then copying all non-null values to the FeatureTypeInfo object in the catalog. Since enabled is a boolean primitive, it is initialized to false and copied, casing the FeatureTypeInfo object to become disabled. |