Hi,
This is my scenario:
(1) I created an entity "Users"
(2) I created an entity "Roles"
(3) I defined a many-to-many relationship between "Users" and "Roles" which created a Users-Roles cross table. A "User" can have many "Roles" based on applications and vice-versa.
(4) I defined all the "Roles" a "User" can have on creating a "User".
(5) When i "remove" the "User", the "deleted" field in "Users" is set correctly but the "deleted" fields in the related Users-Roles cross table was not set and remained undeleted.
(6) I created the same User but did not assign any Roles.
(6) My other application retrieves the User and Roles information, I get the User Info correctly but the orphaned entries in the cross table also comes along which is incorrect.
I posting this under Bug Reports because i think this should not happen and the "deleted field" in the cross table should also be updated. I am not sure if this is done as scheduled job. If it, please advice when does the schedule job run and which job?
This is my scenario:
(1) I created an entity "Users"
(2) I created an entity "Roles"
(3) I defined a many-to-many relationship between "Users" and "Roles" which created a Users-Roles cross table. A "User" can have many "Roles" based on applications and vice-versa.
(4) I defined all the "Roles" a "User" can have on creating a "User".
(5) When i "remove" the "User", the "deleted" field in "Users" is set correctly but the "deleted" fields in the related Users-Roles cross table was not set and remained undeleted.
(6) I created the same User but did not assign any Roles.
(6) My other application retrieves the User and Roles information, I get the User Info correctly but the orphaned entries in the cross table also comes along which is incorrect.
I posting this under Bug Reports because i think this should not happen and the "deleted field" in the cross table should also be updated. I am not sure if this is done as scheduled job. If it, please advice when does the schedule job run and which job?
Comment