Discussion read flag issue in sub categories
I found an issue in the discussions list, in categories.
Let's try to explain how to reproduce it :
So here is my tree for example:
Here is the scenario :
1/ User 1 creates a comment in discussion A1 and discussion AB1, and then leave.
2/ User 2 goes to category A. The discussion A1 is flagged "Unread" because of the comment of User 1, that's normal. So User 2 go to discussion A1 and read the new content.
3/ Then User 2 goes to category AB. Here is the problem : the discussion AB1 is marked as "read", but that's false, the user misses the new content in this sub category !
It seems that every times a user goes to an unread discussion in a parent category A, all discussions in sub categories A* are flagged as Read. The issue is not reproduced when we read first the sub category discussion, and then the parent category discussion.
This is very annoying for users because they don't see the new content each time, and they miss some new comments
Any idea ? I tried to find when the read status is saved in the code but I didn't found it.