Merge pull request #748 from creative-commoners/pulls/5.0/email-recipient-preview

FIX Disable versioned GridField extensions - it conflicts with UserFormRecipientItemRequest
This commit is contained in:
Dylan Wagstaff 2018-03-23 12:07:16 +13:00 committed by GitHub
commit 5ac2c530b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,6 +90,13 @@ class EmailRecipient extends DataObject
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
* email recipient, such as free-text entry fields.