Uploaded image for project: 'Doctrine 1'
  1. Doctrine 1
  2. DC-223

Cloning a query object re-creates hydrator object and loses hydration mode in the process.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.0-BETA2
    • Fix Version/s: 1.2.0-BETA3
    • Component/s: None
    • Labels:
      None

      Description

      This is obviously wrong since cloning should result in identical object, but why this is such a critical bug is because it breaks setting array hydration for nested set base query, because the query object gets cloned during the fetching of tree. This bug was introduced in revsion 6691 in attempt to fix DC-204. Included is a patch that correctly clones the hydrator instead of resetting its information completely.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jwage Jonathan H. Wage
            Reporter:
            reko_t Reko Tiira
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: