You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're right about the call to reload, but I'm not sure why this only affects models with a custom primary key.
Could you write a failing unit test + migration to demonstrate the issue please? If you fork the repo and make a pull request, I can then take a look. Thanks.
I'm having similar problem with similar migration.
When I want to save a model that value of custom primary key is float number, then results in a "No query results for model" Error, triggered by the $self->reload() in Node@setDepth, but model is saved in database.
When the value of custom primary key has at least one non-numeric character, then it works well.
When using a custom primary key in a model
and the following migration
The following:
results in a "No query results for model" Error, triggered by the
$self->reload()
in Node@setDepth.I guess this is because we're reloading before the new model is persisted?
The text was updated successfully, but these errors were encountered: