You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems pretty natural return current value on getOriginalValue() if value of a field was not actually changed. But ODocument returns null in this case.
Steps to reproduce the problem
Create a hook with onRecordAfterUpdate(). Check getOriginalValue() of field B of just updated document due to some changes in field A.
Important Questions
Do you see any problems to make it more natural/logical?
Runninng Mode
Embedded, using PLOCAL access mode
Embedded, using MEMORY access mode
Remote
OrientDB Version
v2.1.18
Operating System
Linux
Java Version
8
The text was updated successfully, but these errors were encountered:
Expected behavior and actual behavior
It seems pretty natural return current value on getOriginalValue() if value of a field was not actually changed. But ODocument returns null in this case.
Steps to reproduce the problem
Create a hook with onRecordAfterUpdate(). Check getOriginalValue() of field B of just updated document due to some changes in field A.
Important Questions
Do you see any problems to make it more natural/logical?
Runninng Mode
OrientDB Version
Operating System
Java Version
The text was updated successfully, but these errors were encountered: