DDC-62: Syntax error in proxy generated for entity in global namespace #5130

Closed
doctrinebot opened this Issue Oct 27, 2009 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user koubas:

When I define a class in my application, without defining any namespace for it (i'm not using them for my code yet) and mark it as an entity by anotation, the generated Proxy class has following syntax error in its definition:
...
class MyEntityAProxy extends MyEntity implements \Doctrine\ORM\Proxy\Proxy {
...
(
two backslashes here (JIRA escaped them somehow))

I've fixed it temporarily by removing backslash from the class template in ProxyFactory.php, but i could probably break something else.

I'm new to Doctrine 2 and php 5.3 features, sorry if this is a nonsense :]

@doctrinebot

Comment created by @beberlei:

Fixed

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0-ALPHA3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment