Details
Description
Having an Entity class with this property declaration :
/** * @ORM\OneToMany(targetEntity="Plan", mappedBy="Dossier") * @var Plan[] **/ protected $Plans;
Getter & Setter are generated this way :
/** * Add Plans * * @param se\JpsBundle\Entity\Plan $plans * @return Dossier */ public function addPlan(\se\JpsBundle\Entity\Plan $plans) { $this->Plans[] = $plans; return $this; }
Problem lies in the
@param se\JpsBundle\Entity\Plan $plans
Should be :
\se\JpsBundle\Entity\Plan $plans
Same thing for Doctrine Collection class.
Activity
Stéphane Erard
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
Having an Entity class with this property declaration :
/** * @ORM\OneToMany(targetEntity="Plan", mappedBy="Dossier") * @var Plan[] **/ protected $Plans; Getter & Setter are generated this way : /** * Add Plans * * @param se\JpsBundle\Entity\Plan $plans * @return Dossier */ public function addPlan(\se\JpsBundle\Entity\Plan $plans) { $this->Plans[] = $plans; return $this; } Problem lies in the @param se\JpsBundle\Entity\Plan $plans Should be : \se\JpsBundle\Entity\Plan $plans Same thing for Doctrine Collection class. |
Having an Entity class with this property declaration :
{code} /** * @ORM\OneToMany(targetEntity="Plan", mappedBy="Dossier") * @var Plan[] **/ protected $Plans; {code} Getter & Setter are generated this way : {code} /** * Add Plans * * @param se\JpsBundle\Entity\Plan $plans * @return Dossier */ public function addPlan(\se\JpsBundle\Entity\Plan $plans) { $this->Plans[] = $plans; return $this; } {code} Problem lies in the {code} @param se\JpsBundle\Entity\Plan $plans {code} Should be : {code} \se\JpsBundle\Entity\Plan $plans {code} Same thing for Doctrine Collection class. |
Fabio B. Silva
made changes -
| Assignee | Benjamin Eberlei [ beberlei ] | Fabio B. Silva [ fabio.bat.silva ] |
Fabio B. Silva
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Fabio B. Silva
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Fix Version/s | 2.3 [ 10185 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Fix Version/s | 2.3.1 [ 10323 ] |
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-2121, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Fixed : https://github.com/doctrine/doctrine2/commit/262c3eea6bd4313d34558ff434bf9b8ff34b7ab3