Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-ALPHA3
-
Fix Version/s: 2.0-ALPHA3
-
Component/s: ORM
-
Security Level: All
-
Labels:None
Description
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 :]
Activity
Jakub Husák
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
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) 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 :] |
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 :] |
Benjamin Eberlei
made changes -
| Assignee | Roman S. Borschel [ romanb ] | Benjamin Eberlei [ beberlei ] |
Benjamin Eberlei
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Benjamin Eberlei
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Fix Version/s | 2.0-ALPHA3 [ 10029 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 10242 ] | jira-feedback [ 14125 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 14125 ] | jira-feedback2 [ 15989 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 15989 ] | jira-feedback3 [ 18242 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-62, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Fixed