Replies: 1 comment 5 replies
-
I'm sorry, I don't understand the question. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It JoinColumn attribute should be mark as Attribute::IS_REPEATABLE ? When you add e.g
#[ORM\JoinColumn(nullable: false)] - wrong added line
#[ORM\JoinColumn(name: 'invoice_id', referencedColumnName: 'id', nullable: true)]
then then findOneBy(['invoice'=>$invoice]) - build wrong sql query with double invoice_id in where part
Beta Was this translation helpful? Give feedback.
All reactions