DDC-1030: Issue with parseTokensInEntityFile() and multiple levels of namespace #1287

Closed
opened 2026-01-22 13:08:25 +01:00 by admin · 5 comments
Owner

Originally created by @doctrinebot on GitHub (Feb 12, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @jwage:

If you have something like Acme\MainBundle\Document\User, the parser will only popular Acme\User as the key for the parsed information. We have to consider multiple leves of namespace. This concatenates each namespace after the namespace separator is found.

I made the same fix in the odm here. Pull request for ORM on the way.

b7c72aa7b7

Originally created by @doctrinebot on GitHub (Feb 12, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @jwage: If you have something like Acme\MainBundle\Document\User, the parser will only popular Acme\User as the key for the parsed information. We have to consider multiple leves of namespace. This concatenates each namespace after the namespace separator is found. I made the same fix in the odm here. Pull request for ORM on the way. https://github.com/doctrine/mongodb-odm/commit/b7c72aa7b7b41de97b328a872cc8f7d4141b3143
admin added the Bug label 2026-01-22 13:08:25 +01:00
admin closed this issue 2026-01-22 13:08:27 +01:00
Author
Owner

@doctrinebot commented on GitHub (Feb 12, 2011):

@doctrinebot commented on GitHub (Feb 12, 2011): - is required for [DDC-1023: the EntityGenerator duplicates the property when using annotations](http://www.doctrine-project.org/jira/browse/DDC-1023)
Author
Owner

@doctrinebot commented on GitHub (Feb 12, 2011):

Comment created by @jwage:

https://github.com/doctrine/doctrine2/tree/DDC-1030

@doctrinebot commented on GitHub (Feb 12, 2011): Comment created by @jwage: https://github.com/doctrine/doctrine2/tree/[DDC-1030](http://www.doctrine-project.org/jira/browse/DDC-1030)
Author
Owner

@doctrinebot commented on GitHub (Feb 13, 2011):

Comment created by @beberlei:

Ah good catch. That fixes 2 open issues that i couldnt pin down :)

@doctrinebot commented on GitHub (Feb 13, 2011): Comment created by @beberlei: Ah good catch. That fixes 2 open issues that i couldnt pin down :)
Author
Owner

@doctrinebot commented on GitHub (Feb 13, 2011):

Comment created by @beberlei:

Fixed.

@doctrinebot commented on GitHub (Feb 13, 2011): Comment created by @beberlei: Fixed.
Author
Owner

@doctrinebot commented on GitHub (Feb 13, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Feb 13, 2011): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1287