Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Unable to delete from delete DataObject from 'LIVE' table


Go to End


678 Views

Avatar
VPull

Community Member, 58 Posts

17 March 2017 at 10:49pm

I have created version history for DataObject adding extension in app.yml as mentioned in https://docs.silverstripe.org/en/3/developer_guides/model/versioning/

and I also created ModelAdmin to handle this DataObject, When I clicked on red cross button to delete record in ModelAdmin, it get delete from staged data table but still showing live data table.

I also tried it using

onBeforeDelete()
function but no luck. Please help me to sort out.

Thanks in advance,