When trying to upgrade an existing site to SS4 using the recommended branch I'm getting errors when trying to edit a data object that isn't versioned.
This is because the Delete button calls $record->isPublished(). This is a change to the SS3 implementation which called a method in the GridFieldBetterButtonsItemRequest class that checked for the existence of the Versioned extension on the data object first.
When trying to upgrade an existing site to SS4 using the recommended branch I'm getting errors when trying to edit a data object that isn't versioned.
This is because the Delete button calls
$record->isPublished()
. This is a change to the SS3 implementation which called a method in theGridFieldBetterButtonsItemRequest
class that checked for the existence of theVersioned
extension on the data object first.