Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.2.0-BETA2
-
Fix Version/s: None
-
Component/s: Nested Set
-
Labels:None
Description
When HYDRATE_ARRAY_HIERARCHY to get descendants, the output is not an array as expected. It is a Doctrine_Collection instead. In 1.2 Beta1 it worked as expected. This bug only occurs in Beta2.
Example Code: http://pastebin.ca/1673773
The class used for $file (if you need it): http://pastebin.ca/1673706
This is working for me as expected with the latest version of Doctrine 1.2 from SVN.