claimed-framework / claimed-framework/mlx_deprecated
Upload Error: `Data too long for column 'Description' at row 1`
- Dominant language
- Python
- Stars
- 220
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Trying to upload an asset with a `description` of longer than 255 characters will throw error:
```
Upload Error: Please Retry - "DataError: 1406 (22001): Data too long for column 'Description' at row 1"
```
**Possible solutions**
1. Change datatype in MySQL to `longtext` instead of `varchar(255)` (already done for pipelines)
2. Trim the description to 254 characters and append the ellipsis character (`…`) at the end
Option 2 would be beneficial to keep the UI featured cards more tidy.
Option 1 would require additional UI changes to trim the description on the featured cards
@drewbutlerbb4
Contributor guide
Assessment
This issue has not been assessed yet.