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
The function roles->remove() recursive not clean the relationship with Permission and User with its descendants.
It looks like whenever u want to remove the node itself or with its descendants, It only do the relationship tables with permission and User by itself but not care about its descendants relationship records in the relationtable.
I know it would works as expected because the entity ID is gone, There would not have any problem in the relationship table. But it is dirty data. I don't like to keep them in the tables.
The function roles->remove() recursive not clean the relationship with Permission and User with its descendants.
It looks like whenever u want to remove the node itself or with its descendants, It only do the relationship tables with permission and User by itself but not care about its descendants relationship records in the relationtable.
I know it would works as expected because the entity ID is gone, There would not have any problem in the relationship table. But it is dirty data. I don't like to keep them in the tables.
The text was updated successfully, but these errors were encountered: