BadMethodCallException
gets swallowed up by ViewLayerData
#11481
Labels
BadMethodCallException
gets swallowed up by ViewLayerData
#11481
ViewLayerData
intentionally catchesBadMethodCallException
thrown in a__call()
method - but makes no attempt to validate the exception is actually thrown inside a_call()
method.So say you have
$SomeMethod
in a template.That successfully goes through
ModelData::__call('SomeMethod')
and results in calling theSomeMethod()
method - and then that method tries to call something that doesn't exist. That would result in aBadMethodCallException
being thrown which should not be ignored.PRs
The text was updated successfully, but these errors were encountered: