FIX Disable versioned GridField extensions - it conflicts with UserFormRecipientItemRequest

This commit is contained in:
Robbie Averill 2018-03-23 11:10:13 +13:00
parent e0c4dfd6c6
commit 86b098ccf5

View File

@ -90,6 +90,13 @@ class EmailRecipient extends DataObject
private static $table_name = 'UserDefinedForm_EmailRecipient'; private static $table_name = 'UserDefinedForm_EmailRecipient';
/**
* Disable versioned GridField to ensure that it doesn't interfere with {@link UserFormRecipientItemRequest}
*
* {@inheritDoc}
*/
private static $versioned_gridfield_extensions = false;
/** /**
* Setting this to true will allow you to select "risky" fields as * Setting this to true will allow you to select "risky" fields as
* email recipient, such as free-text entry fields. * email recipient, such as free-text entry fields.