You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In DataObjectHistory::getHistoryFields(), there's a check which causes the "History" tab to disappear. It does this when you select the "Publish" button on your custom DataObject subclass.
Commenting out this check, fixes the problem. Not sure it's even needed as my system seems to work OK without it.
// if (!$owner->isLatestVersion()) {
// return null;
// }
The text was updated successfully, but these errors were encountered:
PHP 7.1 / Ubuntu 16.04 / silverstripe/framework 4.3.3
In
DataObjectHistory::getHistoryFields()
, there's a check which causes the "History" tab to disappear. It does this when you select the "Publish" button on your customDataObject
subclass.Commenting out this check, fixes the problem. Not sure it's even needed as my system seems to work OK without it.
The text was updated successfully, but these errors were encountered: