Support Forum
Support › MB Revision › MB Revisions in combination with MB Custom Table and Custom Post TypeResolved
My setup:
- MB Revision is enabled in the AIO dashboard
- Custom Post Type
- supports: title, revisions
- uses a custom field group (built with the Builder)
- settings tab: Custom Attributes set revision
to true
, custom table turned on
I have confirmed that data is successfully saved in the db, but future edits to the post type are just updating the record, not creating any kind of revision history.
I also checked and confirmed that revisions are being saved if I do not use a custom table (though only the title is being saved - not any custom meta field data)
Thanks for any help you can provide.
Hi Purdue,
There's a bug that MB Revision doesn't work with custom table yet. We're working on that. Please wait for a few days.
Hi Purdue,
I've just pushed an update for both MB Revision and MB Custom Table. Now they work well together and you can use them to track revisions for CPT in custom tables. Please update and let me know if you find any problem.
Thanks, the revisions are now being saved. I'll post back here if I encounter any issues implementing it.
Hi Anh !
Happy to read on this topic, and understand there was an issue AND a fix since 🙂
But it seems it doesn't work again ?
My setup is the same than Lisa Tally and everything works without custom table.
But
With my custom post type, I'm trying to activate MB Custom table for performance, and I would like to get revisions for custom fields as well so I'm testing... While my data is successfully updated in the custom table row, I don't find the previous data (revised data).
Nothing in postmeta table, nothing in custom table, and nothing appear in UI.
When I browse into the UI revisions from my post, except the title no custom fields appears as edited.
Thanks for your help.
I'm having the same problem as Jonathan above. Is there something else that needs to be configuredto get revisions to work?
Hi @Anh Tran, this seems to be a problem again, where only the cpt title is being displayed and none of the field data. Any fixes for this?
I have revision true set on the field group within the custom settings.
I'd like to be able to see when a particular custom field was edited and what it's new value was updated to.
OR does something else need to be configured to make the fields show up in the revisions?