-
Notifications
You must be signed in to change notification settings - Fork 68
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
Multiple returns for transactions - Upgraded orientjs from 2.0.0 to 2.2.2 and orientdb from 2.1.11 to 2.2.8 #199
Comments
Hi @EricLin2004 I have the same issue. Please try the latest 2.2.x snapshot Release and orientjs "script return fix" Branch. Message from @maggiolo00: I've pushed the fix in this branch https://github.com/orientechnologies/orientjs/tree/script-return-fix I've also added more test in script-test.js If you want to test it you should grab the latest 2.2.9 snapshot of orientdb here |
as @StarpTech said the branch contains the fix in orientjs side and it works with 2.2.9-snapshot. |
@EricLin2004 @maggiolo00 I don't validate the fix I will do it in the next days. |
Ok @StarpTech let me know and then i will move the fix in master. Thanks |
Thanks @StarpTech , @maggiolo00 for the quick responses. Looks good to me. I have a workaround for now with 2.2.8 on my production server though so I'll probably wait for the official release of 2.2.9 before updating it again. Feel free to close this issue ? |
i will close it once the fix is ported to master branch Thanks |
HI @tglman @maggiolo00 Bad News, with the version "script-return-fix" I run into big problems. I get same results (same RIDS) for two different querys:
When I try it with 2.1.x and orientjs 2.2.2 it works. Could it be a regression https://github.com/orientechnologies/orientjs/blob/f778b7c1d99a7497af359a228e49c56f00182381/test/bugs/186-resolveReferences-duplicates.js ? |
Hi, We just fixed this case, here is the commit : orientechnologies/orientdb@266fa85 Regards |
@EricLin2004 @StarpTech |
I just recently upgraded my orientdb from 2.1.11 to 2.2.8 and orientjs from 2.0.0 to 2.2.2
Previously, when I had a transaction with multiple returns:
Now,
results[0]
is JUST the@rid
, something like this:It's also additionally a nested array when it wasn't before?
Any way to retain the previous behaviour? Can I add in a fetchPlan for the transaction?
Thanks in advance.
The text was updated successfully, but these errors were encountered: