Env function in RasterSymbolizer's ChannelSelection doesn't evaluate in layer groups or layer lists

Description

The fix in is not sufficient as GeoServer keeps a thread pool of secondary rendering threads, we need to setup a ThreadLocalTransfer for it and use it

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure