The new feature type customization in GeoServer 2.21 allows flexible attribute output renaming, but if the renamed attribute contains a space, it results in default \ of "Feature" even if a feature caption string has been appropriately set.
For example, if you rename the STATE_NAME attribute to "State Name" for output features:
and then you set the \ string to contain a property placeholder that should serialize the renamed attribute:
it results in the default "Feature" string being used:
The new feature type customization in GeoServer 2.21 allows flexible attribute output renaming, but if the renamed attribute contains a space, it results in default \ of "Feature" even if a feature caption string has been appropriately set.
For example, if you rename the STATE_NAME attribute to "State Name" for output features:
and then you set the \ string to contain a property placeholder that should serialize the renamed attribute:
it results in the default "Feature" string being used:![image](https://user-images.githubusercontent.com/2437285/206289048-8126ea56-2962-43b9-8da3-430b945ea982.png)