DDC-493: Wrong mapping @OneToOne in extenders cause exception "no such column" on query childs params [test case included] #616

Closed
opened 2026-01-22 12:44:38 +01:00 by admin · 7 comments
Owner

Originally created by @doctrinebot on GitHub (Apr 5, 2010).

Jira issue originally created by user else:

look test case please

Originally created by @doctrinebot on GitHub (Apr 5, 2010). Jira issue originally created by user else: look test case please
admin added the Bug label 2026-01-22 12:44:38 +01:00
admin closed this issue 2026-01-22 12:44:41 +01:00
Author
Owner

@doctrinebot commented on GitHub (Apr 5, 2010):

Comment created by else:

test case shows this bug

@doctrinebot commented on GitHub (Apr 5, 2010): Comment created by else: test case shows this bug
Author
Owner

@doctrinebot commented on GitHub (Apr 5, 2010):

Comment created by romanb:

Why is this a "blocker" ? You can just use:

select u, c.data from ".*_NAMESPACE_*."\\DDC493Distributor u join u.contact c ...

I dont even know yet whether the syntax you use is really supported.

@doctrinebot commented on GitHub (Apr 5, 2010): Comment created by romanb: Why is this a "blocker" ? You can just use: ``` select u, c.data from ".*_NAMESPACE_*."\\DDC493Distributor u join u.contact c ... ``` I dont even know yet whether the syntax you use is really supported.
Author
Owner

@doctrinebot commented on GitHub (Apr 5, 2010):

Comment created by else:

Dear roman,
It was blocker for me until you write your comment. I didn't think this way.

Damn it. I'm trying do my best (even i learnt i how to make test cases) but still my reports are not perfect for you :(

@doctrinebot commented on GitHub (Apr 5, 2010): Comment created by else: Dear roman, It was blocker for me until you write your comment. I didn't think this way. Damn it. I'm trying do my best (even i learnt i how to make test cases) but still my reports are not perfect for you :(
Author
Owner

@doctrinebot commented on GitHub (Apr 5, 2010):

Comment created by romanb:

Ondrej, I didn't mean to critize your report, I was just wondering why this is a blocker for you since the syntax "x.y.z" where y is a to-one association is just a shortcut for an explicit join, as shown in my previous comment.

It's great that you've learnt how to create test cases, they are really the best way to communicate bug reports, so thanks for that. We appreciate your help.

It is normal that we follow up with questions on most bug reports, you should not feel bad about that, we just try to fully understand the problem. A report can never be "perfect", it can just be good or bad. Good or bad here means whether it is easy for us to understand and reproduce the problem. If there is a testcase, chances are that the report is already good :)

@doctrinebot commented on GitHub (Apr 5, 2010): Comment created by romanb: Ondrej, I didn't mean to critize your report, I was just wondering why this is a blocker for you since the syntax "x.y.z" where y is a to-one association is just a shortcut for an explicit join, as shown in my previous comment. It's great that you've learnt how to create test cases, they are really the best way to communicate bug reports, so thanks for that. We appreciate your help. It is normal that we follow up with questions on most bug reports, you should not feel bad about that, we just try to fully understand the problem. A report can never be "perfect", it can just be good or bad. Good or bad here means whether it is easy for us to understand and reproduce the problem. If there is a testcase, chances are that the report is already good :)
Author
Owner

@doctrinebot commented on GitHub (Apr 12, 2010):

Comment created by @guilhermeblanco:

In changeset:

56a8f5cd53

I fixed the issue. To confirm, I added coverage to this issue in changeset:

dd2dd80281

Thanks for the report and unit test! It helped me a lot!

@doctrinebot commented on GitHub (Apr 12, 2010): Comment created by @guilhermeblanco: In changeset: http://github.com/doctrine/doctrine2/commit/56a8f5cd5353908b815607a6e089201c95e01e6c I fixed the issue. To confirm, I added coverage to this issue in changeset: http://github.com/doctrine/doctrine2/commit/dd2dd80281e2f74b8a0e53dea5bd94a765e32621 Thanks for the report and unit test! It helped me a lot!
Author
Owner

@doctrinebot commented on GitHub (Apr 12, 2010):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Apr 12, 2010): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 13, 2015):

Imported 1 attachments from Jira into https://gist.github.com/6078e26bec45efc267fd

@doctrinebot commented on GitHub (Dec 13, 2015): Imported 1 attachments from Jira into https://gist.github.com/6078e26bec45efc267fd - [10544_DDC493Test.php](https://gist.github.com/6078e26bec45efc267fd#file-10544_DDC493Test-php)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#616