silverstripe-userforms/code/Model/Submission
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
..
SubmittedFileField.php ENH Protect access to the uploaded file without permission 2022-08-31 11:04:15 +12:00
SubmittedForm.php MNT Update docblocks and import statements (#1044) 2021-02-26 16:13:23 +13:00
SubmittedFormField.php FIX submission performance issues with large data 2022-10-23 23:53:46 +13:00