Skip to content

4.4.3

@s2b s2b tagged this 28 Aug 12:02
If a component or ViewHelper argument is not required and is not
supplied in the ViewHelper call, Fluid takes care of filling in the
default value. But this also happens if the argument is supplied and
is set to `NULL`. This usually happens if an undefined variable is
provided to the ViewHelper. For ViewHelpers this is done by the
`ViewHelperInvoker`, for components in
`AbstractTemplateView::processAndValidateTemplateVariables()`.

The current implementation of `StrictArgumentProcessor` prevents the
fallback from happening if the argument is supplied, but with `NULL`
as value. This patch adjusts the `StrictArgumentProcessor` to also
pass `NULL` values through.

Related: #1221
Assets 2
Loading