PgsqlTileLayerCatalog.toLayer(TileLayerInfo):GeoServerTileLayer needs to resolve the PublishedInfo as it may have danling references or may not be a modification proxy, only if it's a "plain" Layer(Group)InfoImpl, otherwise it's already resolved and the ModificationProxyDecorator will throw an error.
PgsqlTileLayerCatalog.toLayer(TileLayerInfo):GeoServerTileLayer
needs to resolve thePublishedInfo
as it may have danling references or may not be a modification proxy, only if it's a "plain"Layer(Group)InfoImpl
, otherwise it's already resolved and theModificationProxyDecorator
will throw an error.