"Reload feature type" in layer UI won't work if the FeatureTypeInfo has a saved list of attributes

Description

Believe this happens on legacy data directories (we don't store the list of attributes anymore as far as I remember) and it disallows from seeing new attributes in the underlying storage.

This patch seems to fix it (needs a test, cannot write it right now):

Environment

None

Assignee

Unassigned

Reporter

Andrea Aime

Triage

None

Fix versions

None

Affects versions

None

Components

Priority

Medium
Configure