[Geoserver-devel] [jira] (GEOS-6637) PUSH FeatureType?refreshAttributes=true

Jody Garnett created an issue

GeoServer / BugGEOS-6637

PUSH FeatureType?refreshAttributes=true

Issue Type:

BugBug

Assignee:

Andrea Aime

Components:

REST

Created:

28/Aug/14 7:33 PM

Priority:

MajorMajor

Reporter:

Jody Garnett

Used to refresh a FeatureType (for example when a new column is added to a PostGIS table)

Functionally this request is similar to recalculate options already provided to refresh bounds information.

Propose refreshAttributes with:

  • flush: clears attribute information from resource pool (and ContentEntry if available)
  • reset: force dispose of DataStore and reconnection

As described in GEOS-6636 DELETE featureType is being used to force GeoServer to clear any cached state associated with a FeaturerType - and then the FeatureType is being recreated from scratch just so a “fresh” list of attributes is obtained. This workflow has introduced problems around the DataStore being “reset” (disposed and created) to avoid attributes cached at the GeoTools level.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo