Google Groups Home
Help | Sign in
Message from discussion Bug?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
romanb  
View profile
 More options 17 May, 09:43
From: romanb <ro...@code-factory.org>
Date: Sat, 17 May 2008 01:43:52 -0700 (PDT)
Local: Sat 17 May 2008 09:43
Subject: Re: Bug?

On May 14, 9:14 pm, Alex <outroa...@gmail.com> wrote:

> Could the treeObject be altering default Doctrine behavior?

Yes it does. The tree object auto-adds lft/rgt/level to the select
part, hence even if you dont use a select() in your query it ends up
as select lft/rgt/level, then later it reaches the dql parser and
there the select part is not missing, so no fields (except PKs) are
auto-added.

Thats the explanation for the behavior. What is questionable here is
that the tree object may not need to add these select bits IF the
custom query has no select part at all since the parser will then auto-
select all of them. For this issue you can open a ticket.

Regards

Roman


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google