Closed bildschirmartist closed 4 years ago
I got an exception in my setup when the modifyPalette-method has been called without a valid $dc->id (for some reasons it was null). So I changed the objForm Loading to use the belonging FormModel.
modifyPalette
$dc->id
null
I just realized, that this problem has been fixed in Contao 4.4.50 (see https://github.com/contao/contao/issues/1867). So this fix is optional.
Thanks! I still think validating the record is correct.
I got an exception in my setup when the
modifyPalette
-method has been called without a valid$dc->id
(for some reasons it wasnull
). So I changed the objForm Loading to use the belonging FormModel.