Doctrine 1
  1. Doctrine 1
  2. DC-237

HYDRATE_ARRAY_HIERARCHY: Output is not an array

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical 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

        Activity

        Hide
        Jonathan H. Wage added a comment -

        This is working for me as expected with the latest version of Doctrine 1.2 from SVN.

        Show
        Jonathan H. Wage added a comment - This is working for me as expected with the latest version of Doctrine 1.2 from SVN.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Nate
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: