silverstripe-userforms/code/Model
Dylan Wagstaff 3cd8c7ea77 FIX submission performance issues with large data
The more submissions a form receives, the more submission fields it must
process just to be able to load `getCMSFields`. Arguably submission data
does not belong here, but this is beyond the scope of this patch.

On popular forms it is not improbable to be trying to process 300,000
submitted fields just to test the unique sets of name and title...
however databases have the ability to do this without wasting PHP cycles
and memory, leaving us with a much smaller set to process and hopefully
bypassing one (of several) performance issues with this module.

The consequence of not making allowance for this is that a page in the
CMS suddenly stops saving or loading via web server or PHP (or both)
process timeouts (e.g. saving takes longer than 30 seconds so saving
never happens).
2022-10-23 23:53:46 +13:00
..
EditableFormField Merge branch '5.13' into 5 2022-06-02 10:43:54 +12:00
Recipient ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
Submission FIX submission performance issues with large data 2022-10-23 23:53:46 +13:00
EditableCustomRule.php ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
EditableFormField.php FIX submission performance issues with large data 2022-10-23 23:53:46 +13:00
UserDefinedForm.php Use controller_name static config instead of method for better inheritance 2021-09-17 08:23:39 +12:00