When a relationship between two nodes is deleted, we do not properly set the properties of that relationship (IS_VISIBLE, IS_PROTECTED) to deleted. This leads to an inconsistent database state in which both IS_RELATED edges are updated to status=deleted, but IS_VISIBLE and IS_PROTECTED edges are not
Expected Behavior
We should add new status=deleted edges to a given Relationship node when it is deleted
Steps to Reproduce
Delete a relationship and then check it out on the database
from a unit test
Component
API Server / GraphQL
Current Behavior
When a relationship between two nodes is deleted, we do not properly set the properties of that relationship (
IS_VISIBLE
,IS_PROTECTED
) to deleted. This leads to an inconsistent database state in which bothIS_RELATED
edges are updated tostatus=deleted
, butIS_VISIBLE
andIS_PROTECTED
edges are notExpected Behavior
We should add new
status=deleted
edges to a givenRelationship
node when it is deletedSteps to Reproduce
Delete a relationship and then check it out on the database from a unit test
on the database
Additional Information
a little example
currently, we set add new
status=deleted
edges to replacer1
andr2
, but notv
orp