activegraph icon indicating copy to clipboard operation
activegraph copied to clipboard

updated_at timestamp not updated when only undeclared properties are changed

Open anamba opened this issue 6 years ago • 2 comments

I am using ActiveNode::Timestamps. I noticed that if the declared properties remain unchanged, but undeclared properties are changed, the updated_at timestamp is not updated. I can work around it, but was curious whether this behavior is a bug, or working as designed.

anamba avatar Jan 13 '18 07:01 anamba

Hey @anamba . That definitely seems wrong... Are you using Neo4j::UndeclaredProperties at the same time for undeclared properties? Can you try declaring an updated_at property manually without including ActiveNode::Timestamps?

cheerfulstoic avatar Jan 14 '18 20:01 cheerfulstoic

Added pull request #1498 with just a failing test (sorry).

anamba avatar Apr 12 '18 06:04 anamba