[ZendTo] Request for better error message / input validation

Orion Poplawski orion at nwra.com
Mon Nov 6 14:38:33 GMT 2023


One of our users got the following message when uploading a dropoff:

Upload Error
     Trouble while attempting to save the information for 
'example_raytrace_suite.zip'. Please notify the system administrator.

It took looking in the server zendo.log to find:

  Error: Failed to add file1 example_raytrace_suite.z
ip to drop-off 2969. Error was Data too long for column 'description' at 
row 1


And apparently description is a tinytext and limited to 255 chars.

Can the input form be changed to restrict the description to 255 chars 
and/or have a check for length before attempting to add it to the database?


Thanks!


-- 
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                 https://www.nwra.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3847 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://jul.es/pipermail/zendto/attachments/20231106/2883563d/attachment.p7s>


More information about the ZendTo mailing list