-
Notifications
You must be signed in to change notification settings - Fork 870
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
LINKSET within transaction: fails to remove newly created records. #8634
Comments
@mmacfadden Maybe! Critical differences, however:
So it would rather be an indirect relationship to the same root cause. |
@foriam Thanks for the insight. If the OrientDB team doesn't look into them in the next day or so I will probably take a stab and figuring both of these out. |
Is there any update on this bug? Has anyone from the OrientDB team checked these issues and can comment how they could be addressed? Thanks! |
@luigidellaquila @tglman Any thoughts on this one as well as perhaps #8632? |
I'm working on it now, I'll let you know asap Thanks Luigi |
@luigidellaquila Thanks for the update. I am hopeful that the fix might also take care of #8632. |
Also, if you nee any help testing let me know. |
I pushed the fix, it will be released with v 3.0.12 Thanks Luigi |
OrientDB Version: 3.0.9 edit: 3.0.10
Java Version: 8-191
OS: MacOS
Expected behavior
When adding and subsequently removing a record to a LINKSET within a transaction, it should not be there after commit.
Actual behavior
When adding and subsequently removing a record to a LINKSET within a transaction, it is there again after commit.
Steps to reproduce
See the following test written in groovy using the Java API:
While the flow of adding and removing within one transaction is not something you'd intentionally do, it is impossible to prevent when using an object mapping layer and complex operations on persisted objects. Can lead to serious and in the worst case long unnoticed bugs.
The text was updated successfully, but these errors were encountered: