Bug: Error message when text for "name" for new record is too long
Summary
Giving a long name in the name field results in an error and doesn't let you submit.
Expected Behavior
Accept the name.
Actual Behavior
Error! Please help to make CaosDB better! Copy this message and send it via email to info@indiscale.com.
Error: PUT Entity/ returned with HTTP status 500 - Server Error _put@https://crm.indiscale.com/webinterface/1691498121/webcaosdb.dist.js:4032:27
Steps to Reproduce the Problem
Please describe, step by step, how others can reproduce the problem. Please try these steps for yourself on a clean system.
- Log into crm.indiscale.com
- https://crm.indiscale.com/Entity/344 try to move the whole description to the title
- submit
Specifications
- Version: Current crm version
- Platform: Firefox Browser
Possible fixes
- Catch
com.mysql.cj.jdbc.exceptions.MysqlDataTruncation
inMySQLInsertSparseEntity.java
andMySQLUpdateSparseEntity.java
. - Also check for similar errors for the other user editable fields of sparse entities.
Edited by Quazgar