I noticed after a recent composer update, that when we create a model and saving it, and then move it to a parent, som of the values are being reset on the model.
In our case, the "name" attribute is set to empty.
We're using this;
public function moveToNewParent(OrganizationalUnit $ou, OrganizationalUnit $parent)
{
$ou->makeChildOf($parent);
}
When i look at the var_dump of the results, i notice this:
As you can see, the "name" is being changed to being empty, for some reason. I've checked the input data all the way down to Node.php model where it's being changed for some reason?
Hey,
I noticed after a recent composer update, that when we create a model and saving it, and then move it to a parent, som of the values are being reset on the model.
In our case, the "name" attribute is set to empty.
We're using this;
When i look at the var_dump of the results, i notice this:
As you can see, the "name" is being changed to being empty, for some reason. I've checked the input data all the way down to Node.php model where it's being changed for some reason?