-
Improvement
-
Resolution: Outdated
-
Neutral
-
None
-
5.7.1, 6.0
-
None
-
None
The info.magnolia.rendering.renderer.FreemarkerRenderer#render is being wrongly decorated by info.magnolia.config.source.DefinitionProviderWrapperWithProxyFallback.
The "render" method in AbstractRenderer has a void return type so the condition at line 84 in DefinitionProviderWrapperWithProxyFallback ( if (result == null) { ) will always be true resulting in unnecessary invocation attempt that throws an exception because the arguments are not passed at line 86 (return method.invoke(fallbackDefinition).
Acceptance criteria