-
Notifications
You must be signed in to change notification settings - Fork 147
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
Synchronize from external database fails with "out of range" error #1030
Comments
I have almost no insights into sharedlist yet, but maybe I can help debugging by digging into it a bit ... So the unit_quantity is stored correctly in the sharedlists db, right? So I guess the bug is somewhere on the foodsoft side synchronizing the articles. Because in the request params is already the wrong unit_quantity, I guess that the bug must be somewhere before can you maybe also provide the article details before syncing? |
I think this could happen when the foodcoop article unit is much smaller than the shared_list unit?
will give the same out of range error when calling |
Any progress on this? We still can’t synchronize our prices… |
thanks for pinging again! My messy mind completely forgot about it, sorry! |
A foodcoop at app.foodcoops.net tries to synchronize articles from the external (Sharedlists) database. It fails for one supplier with the following error message:
Looking at the parameters from this request it shows entries like this one:
There are others entries which have
unit_quantity"=>"6000000000.0
The XML file from the supplier lists the unit_quantity as
<sve>6</sve>
which is then saved to the Sharedlists database as6.0
.Any idea why this error happened?
The text was updated successfully, but these errors were encountered: