-
Notifications
You must be signed in to change notification settings - Fork 378
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
GridFSLoader bug #305
Comments
Please give us the exact versions you were using and you are using now. |
Now I use :
I have forced an old version of mongodb-odm and it worked. With the commit 661a3b3 of mongodb-odm I had the bug above. |
@npinon Have you found a solution? Same appears on my side. |
It seems that changing the GridFsLoader::find() method with the following fixes the issue:
|
Looks nice! |
@npinon Can you confirm, the changes solve this issue? |
I confirm. It works! |
@havvg Could you consider tagging a minor bugfix release? |
Oh thanks. I have not seen that since GitHub was collapsing the 6 other releases. In the rush I just saw last release 3 months ago. 👍 |
Reopen. |
@npinon What is the difference? Dont understand what you mean with reload. |
@peterrehm find didn't return the correct objet (instead of findOne) but the cache image is generated. So when you load the page for the first time nothing is displayed, but when you reload the cache image is displayed. |
@npinon What is the difference? It should return the same object. It worked for me without any problems. |
I'm sorry, I just checked and you're right. |
It seems that a previously proposed patch never made it into the repo (cf. issue liip#305)
It seems that a previously suggested patch never made it into the repo (cf. issue liip#305)
Since the update of mongodb-odm package (661a3b3) I have this error :
It happened when I try to load an image from mongogridfs.
Maybe something has changed.
Can someone correct the problem?
The text was updated successfully, but these errors were encountered: