That happens when you try to use a non-existant key or when the relations are being set using a non-existant key. Based on the models you're posting you're probably attempting to fetch that key from the wrong model.I switched to the 1.1/develop branch and get a different issue. On the initial save I get the following error "OutOfBoundsException [ Error ]: Unknown property or relation: supplier_factory"
It looks like you're new here. If you want to get involved, click one of these buttons!