Doctrine Project

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Doctrine 2 - ORM
  • Doctrine 2 - ORM
  • DDC-778

Query Clone Removes DQL

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0-BETA4
  • Component/s: DQL
  • Security Level: All
  • Labels:
    None

Description

The fix for DDC-770 made the \Doctrine\ORM\AbstractQuery call the free method when __cloned. This is fine with an abstract query but when you clone from a Doctrine\ORM\Query it calls the free method of that class which nulls out the DQL statement. This breaks the example given in the Doctrine ORM cookbook of writing a custom walker.

This is either a bug in the documentation or a bug in Doctrine ORM.

Activity

  • All
  • Comments
  • History
  • Activity
  • Source
Hide
Permalink
Benjamin Eberlei added a comment - 30/Aug/10 2:30 PM

Fixed!

Show
Benjamin Eberlei added a comment - 30/Aug/10 2:30 PM Fixed!

People

  • Assignee:
    Benjamin Eberlei
    Reporter:
    Tim Oram
Vote (0)
Watch (0)

Dates

  • Created:
    30/Aug/10 12:29 PM
    Updated:
    30/Aug/10 2:30 PM
    Resolved:
    30/Aug/10 2:30 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Doctrine Project. Try JIRA - bug tracking software for your team.