silverstripe-gridfield-betterbuttons
silverstripe-gridfield-betterbuttons copied to clipboard
Incorrect redirection when a Versioned DataObject is published
https://github.com/unclecheese/silverstripe-gridfield-betterbuttons/blob/eeeb5b4700d565b32a43fb41a7df9a8333263a59/src/Extensions/GridFieldBetterButtonsItemRequest.php#L351-L353
$redirectURL is actually a \SilverStripe\Forms\FormRequestHandler instance, so users are always forced to incorrectly redirect to /SilverStripe/Forms/FormRequestHandler whenever a Versioned DataObject is published. Additional checks to ensure $redirectURL is a string should be added, or these lines should be removed.
Any news on this? Will it be fixed?
The SS4 upgrade is very much in flux, and I'm looking to wrap it up this week. See the feature/ss4-upgrade branch.