Search before asking
What happened
When the resource's fullname is longer than the max length of the field named "full_name" in t_ds_resources, the insert option will fail. But the misleading message "resource already exists, can't recreate" will be returned, which is not the root cause.
What you expected to happen
Add a validation of name length, before insert record into db.
How to reproduce
Create a folder with a name length of 64, then upload a file with a name length longer than 64 to that folder.
Anything else
It happens every time.
Version
dev
Are you willing to submit PR?
Code of Conduct