[Geoserver-devel] [JIRA] (GEOS-10660) REST API and Admin UI 'recalculate attributes' does not work

Mary Walton created an issue

GeoServer / BugGEOS-10660

REST API and Admin UI ‘recalculate attributes’ does not work

Issue Type:

BugBug

Affects Versions:

2.21.0

Assignee:

Unassigned

Components:

REST, UI

Created:

20/Sep/22 2:50 PM

Environment:

Windows 10 Enterprise
Geoserver 2.21.0 installed within Apache Tomcat 9.0.65
Postgres v13.7 with PostGIS

Priority:

HighHigh

Reporter:

Mary Walton

When trying to recalculate a layers’ attributes via the Geoserver Admin UI or the REST API, the attributes are not refreshed as expected. If you delete the layer and republish, it picks up the changes but this is not the desired workflow.

The layer is from a Postgres v13.7 database with PostGIS and the data changes within the database as expected.

This is the REST API call being used:
http://localhost:8080/geoserver/rest/workspaces/

{workspace}

/datastores/

{datastorename}

/featuretypes/

{featuretypename}

?recalculate=nativebbox,latlonbox,attributes

With workspace, datastorename and featuretypename filled in with correct values.

In the UI:
Go to Layers >

{Layer name}

> Scroll down to Feature Type Details > Click Reload feature type…

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207-sha1:866f7d8)

Atlassian logo