GetFeatureInfo templates can not access metadata for raster layers

Description

The GeoServer documentation for Freemarker templates describes how to retrieve the layer title, abstract, keywords, etc. but this only works correctly for vector layers. Trying to get the abstract for a raster layer will show "[No Abstract Provided]".
https://docs.geoserver.org/stable/en/user/tutorials/freemarker.html#common-data-models

Environment

None

Status

Assignee

Unassigned

Reporter

Steve Ikeoka

Triage

None

Fix versions

Affects versions

2.15.0
2.14.2

Components

Priority

Medium
Configure