silverstripe-userforms/code
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
..
Control Protect uploads if folder for EditableFileField was removed 2022-05-25 14:07:35 +12:00
Extension ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
Extensions Fix directory for UsedOnTableExtension namespace, to be psr-4 compliant. New dir rather than namespace to prevent backwards-incompat. 2021-04-02 16:04:17 +11:00
Form ENH Save modified form data when adding new field 2022-05-23 14:01:31 +12:00
FormField ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
Model FIX submission performance issues with large data 2022-10-23 23:53:46 +13:00
Modifier ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
Task ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
UserForm.php FIX submission performance issues with large data 2022-10-23 23:53:46 +13:00