zendframework/zf2 — pull request #1817 by bakura10 (2012-07-09 15:10:43+00:00)
Title: Remove recursion in ClassMethodsHydrator

I added when I was working on Forms to allow an entity to be recursively extracted and hence populate nested fieldsets in form, but this was a really bad idea, as in case of bidirectional-relationships, this hydrator ends up to an infinite recursion.

So I removed the recursion, and move it where it makes sense, in the form. Now the extract function moved to fieldset and use the hydrator set to the fieldset to extract data.

The tests now passes as before.