DDC-252: ORM\Mapping\ManyToManyMapping passes undefined variable to exception #312

Closed
opened 2026-01-22 12:34:18 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Jan 13, 2010).

Jira issue originally created by user shurakai:

This class uses an attribute called _sourceFieldName, but its called sourceFieldName. (Without underscore)

Therefore, the exception contains no information.

I've attached a patch.

Originally created by @doctrinebot on GitHub (Jan 13, 2010). Jira issue originally created by user shurakai: This class uses an attribute called _sourceFieldName, but its called sourceFieldName. (Without underscore) Therefore, the exception contains no information. I've attached a patch.
admin added the Bug label 2026-01-22 12:34:18 +01:00
admin closed this issue 2026-01-22 12:34:19 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jan 13, 2010):

Comment created by shurakai:

The fix was attached to the initial post.

@doctrinebot commented on GitHub (Jan 13, 2010): Comment created by shurakai: The fix was attached to the initial post.
Author
Owner

@doctrinebot commented on GitHub (Jan 13, 2010):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jan 13, 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/54c66209adab63c1d10e

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

No dependencies set.

Reference: doctrine/archived-orm#312