I can’t reproduce it… you need to explain that a bit better… how are the breadcrumbs displayed… how should they look… what you mean with “in the case of foobar cannot be blank”… what is foobar?
Yes, this can get even tricky when you have a BELONGS_TO relationship and you’d like (like me) to show the hierarchy in the breadcrumbs. High risk of “Trying to get property of non object” when you want to show it like
Home » Parent model’s title » Model’s title » Update
I guess we can use the model’s attributes from db in the breadcrumbs (an additional findByPk(id) will be necessary), and not rely on POST data that may not be valid at the submit time.