craftcms/craft

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

medoingthings opened this issue · 1 comments

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

Sorry, wrong repo 🙈