Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_get and _patch "No record found for id" #369

Closed
achilsowa opened this issue Feb 5, 2020 · 1 comment
Closed

_get and _patch "No record found for id" #369

achilsowa opened this issue Feb 5, 2020 · 1 comment

Comments

@achilsowa
Copy link

achilsowa commented Feb 5, 2020

Hi
First I apologize because I can't describe step to reproduce.
This is part of the problem actually. Some time _get called on the service model find the element in the database and some other times it does not, even though the element is present

May be other users experienced the same issue. This is why I'm posting it there

I call them simply without any params most of the time

service._get(id)
service._patch(id, data)

Thanks

@arfanliaqat
Copy link
Contributor

can u provide more information regarding ur setup? are u sure that correct id is passed to these methods. the id passed may be null due to some logic?

@daffl daffl closed this as completed Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants