updated test case to also do child.setParent besides parent.add(child).
https://github.com/mpostelnicu/hhh-5855/commit/f94b6d906c7c7278605f09de46c9429c639ad16a
There is, however, no difference in terms of the end result, the bug is still there (it saves 4 children instead of just 2).
|