craftcms / craft

Composer starter project for Craft CMS.
https://craftcms.com
BSD Zero Clause License
188 stars 91 forks source link

Saving an Entry with a dynamic title that gets too long will throw only a general warning #10

Closed medoingthings closed 6 years ago

medoingthings commented 6 years ago

I have an entry type where the title field is set to the value of the copy field ({copy}). When I try to save an entry that has quite a bit of copy text, Craft will just get back to me with a general error "Couldn’t save entry", but without any hint why.

It’s an easy fix by having {copy|slice(0,20)} as the title value, but I’d expect Craft to give me a more informative message like "title is too long" or something alike.

Craft 3 RC3

medoingthings commented 6 years ago

Sorry, wrong repo 🙈