Lenkelheit / Coursework

This repository contains Instagram-like application
Apache License 2.0
1 stars 0 forks source link

StackOverflow Exception in Equals from EntityBase #186

Open Lenkelheit opened 5 years ago

Lenkelheit commented 5 years ago

Sometimes it occurs StackOverflowException in Admin Part Comment section when you want to edit anyone comment. So this bug happens in Equal method of Comment entity that inherits EntityBase. There is Likes collection when exception is thrown. This problem is only for Comment entity, and I don't even guess why it occurs.

iamprovidence commented 5 years ago

I think it because cyclonic reference Comment has reference on User, and User has reference on Comment. Should be tested

iamprovidence commented 5 years ago

I do not know why, but I got this issues when I tried to open my own profile from search window