Loïc Guitaut
5257c80064
DEV: Set limits on custom fields
...
This patch sets some limits on custom fields:
- an entity can’t have more than 100 custom fields defined on it
- a custom field can’t hold a value greater than 10,000,000 characters
The current implementation of custom fields is relatively complex and
does an upsert in SQL at some point, thus preventing to simply add an
`ActiveRecord` validation on the custom field model without having to
rewrite a part of the existing logic.
That’s one of the reasons this patch is implementing validations in the
`HasCustomField` module adding them to the model including the module.
2023-06-13 11:47:21 +02:00
..
2023-06-06 15:36:51 +02:00
2023-05-23 21:23:44 +02:00
2023-05-31 09:15:16 +02:00
2023-05-16 19:40:01 +02:00
2023-05-31 09:15:16 +02:00
2023-05-31 09:15:16 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-05-31 09:15:16 +02:00
2023-04-05 09:12:48 +02:00
2023-06-08 12:49:18 -07:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-05-31 09:15:16 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-05-31 09:15:16 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-05-31 09:15:16 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-05-16 19:40:01 +02:00
2023-05-16 19:40:01 +02:00
2023-04-25 17:23:21 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-04-25 17:23:21 +02:00
2023-04-25 17:23:21 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-05-31 09:15:16 +02:00
2021-07-27 22:47:59 +08:00
2023-01-09 11:13:29 +00:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-05-23 21:23:44 +02:00
2023-03-07 14:58:31 +01:00
2023-05-16 19:40:01 +02:00
2023-05-16 19:40:01 +02:00
2023-05-16 19:40:01 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2022-12-09 12:01:05 +01:00
2023-06-13 11:47:21 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-05-16 19:40:01 +02:00
2023-03-07 14:58:31 +01:00
2023-05-16 19:40:01 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-05-02 17:39:33 +02:00
2023-06-06 15:36:51 +02:00
2023-05-02 17:39:33 +02:00
2023-05-16 19:40:01 +02:00
2023-03-07 14:58:31 +01:00
2023-03-07 14:58:31 +01:00
2023-06-06 15:36:51 +02:00
2023-05-10 00:48:10 +02:00
2023-03-07 14:58:31 +01:00
2023-03-07 14:58:31 +01:00
2023-06-06 15:36:51 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00
2023-05-16 19:40:01 +02:00
2023-06-06 15:36:51 +02:00
2023-05-16 19:40:01 +02:00