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
If an un-versioned object has $owns set, the above method is called. However, $saveAction is always null because the action is contained in a CompositeField, so it can’t be found like this.
The button should say “Apply changes” instead of “Save”, which I remember it used to but doesn’t anymore. I tried using the approach in addVersionedButtons() below, but this results in a broken button (invisible text, disappears when changes are made) any I don’t have time to debug that right now!
silverstripe-versioned/src/VersionedGridFieldItemRequest.php
Lines 392 to 409 in a0a216c
If an un-versioned object has
$owns
set, the above method is called. However,$saveAction
is alwaysnull
because the action is contained in aCompositeField
, so it can’t be found like this.The button should say “Apply changes” instead of “Save”, which I remember it used to but doesn’t anymore. I tried using the approach in
addVersionedButtons()
below, but this results in a broken button (invisible text, disappears when changes are made) any I don’t have time to debug that right now!I’m not sure if we should just remove this, or “fix” it so the button says “Apply Changes” again?
The text was updated successfully, but these errors were encountered: