jasimcse / fsnet

Automatically exported from code.google.com/p/fsnet
0 stars 0 forks source link

If the admin remove an interest, it still remains on the user's interests and in his parent list #228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an interest
2. Add it to your interests
3. Remove it with admin panel

What is the expected output? 

- The interest should be deleted from the list.

What do you see instead?

- The interest is not deleted from the list

Original issue reported on code.google.com by remilec...@gmail.com on 5 Feb 2011 at 2:20

GoogleCodeExporter commented 9 years ago
This issue is in relation to Issue 66

Original comment by mat.boni...@gmail.com on 5 Feb 2011 at 2:42

GoogleCodeExporter commented 9 years ago
I am not sure. It is probably because there is nothing that gets rid off those 
interests in the relationships.

Original comment by daniel.l...@gmail.com on 5 Feb 2011 at 9:17

GoogleCodeExporter commented 9 years ago
Actually, there is a method annotated with @PostRemove in interest for that 
purpose.

However, it might not work properly because it is possible that the changes 
made on SocialEntities do not get committed in the database.

The interest should also be removed from his parent list in that method.

Some unit tests are needed to sort that problem out.

Original comment by daniel.l...@gmail.com on 5 Feb 2011 at 9:28

GoogleCodeExporter commented 9 years ago

Original comment by daniel.l...@gmail.com on 5 Feb 2011 at 9:31

GoogleCodeExporter commented 9 years ago
Finally this issue is in relation with issus 66 because the problem is fix 
since the resolution of the issue 66..

Original comment by cam.hil....@gmail.com on 9 Mar 2011 at 1:14