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
For example find(['id', '=', $id] returns nothing whereas retrieve($id) returns the object of the right id.
Using find(['code', '=', 'GB']) on a Country class pointing at res.country is another way to test this.
I've tried switching the "found" case to use retrieve instead of directly instantiating the object and this doesn't seem to have fixed it, which is doubly strange.
The text was updated successfully, but these errors were encountered:
For some reason find() is returning nothing.
For example
find(['id', '=', $id]
returns nothing whereasretrieve($id)
returns the object of the right id.Using
find(['code', '=', 'GB'])
on a Country class pointing atres.country
is another way to test this.I've tried switching the "found" case to use retrieve instead of directly instantiating the object and this doesn't seem to have fixed it, which is doubly strange.
The text was updated successfully, but these errors were encountered: