Hallo,
My user added a form block to their website and wanted to add a phone number field to it, but they accidentally chose a number field. The issue is that their clients used this form and filled in a phone number like “31612345678”, and it caused a crash in the concrete form block, namely:
An exception occurred while executing ‘INSERT INTO atNumber (value, avID) VALUES (?, ?)’ with params [“31612345678”, 5544]:
SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column ‘value’ at row 1
I manually changed it to an actual phone number block, but I think a fallback warning to let the user know it exceeds the number limit should be added to prevent it from fully crashing like it did now.
Concrete version: 9.5.5
PHP version: 8.5.11