The delta is created based on the label. So if you add another bean with the same label the delta won't be unique. The database field is a unique field so an error occurs.

In the patch attached I add a prefix to the delta until we have a unique one.

CommentFileSizeAuthor
bean.patch1.04 KBjasperknops
database_error.png60.85 KBjasperknops

Comments

indytechcook’s picture

Status: Active » Needs review

You are absolutely right about the validation. I actually remember thinking about that when I was writing it, then forgetting to do something about it. I'll take a look at the patch tonight.

indytechcook’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.