GeoServer does not allow renaming simple feature types coming out of a DataAccess

Description

Trying to rename a layer coming out of a DataAccess just breaks the GeoServer functionality, and renaming is not applied even if we have the machinery to do so, because the code simply checks the store nature, not the type one.

Ideas:

  • Make the UI report inability to rename complex types, instead of just letting breakage happen

  • If a simple feature type comes out of a DataAccess, let it be renamed, reprojected and whatnot, like any other generated by a DataStore

Environment

None

Status

Assignee

Fernando Miño

Reporter

Andrea Aime

Triage

Fix versions

None

Affects versions

None

Components

Priority

Medium
Configure