Details
Description
according to Stof, this bug https://github.com/sensio/SensioGeneratorBundle/issues/21 comes from the doctrine tools implementation:
in the dialog, i first specified that i want a field id of type integer. the result was
[Doctrine\ORM\Mapping\MappingException]
Duplicate definition of column 'id' on entity 'Liip\DemoBundle\Entity\Event' in a field or discriminator column mapping.
and no file was created.
The dialog should tell me i can not create a field named id. (Or better ask first if i want my id column named id or something else.)
It would be nice if it would write some file even if its not valid, with a warning on top. As it is, i lost all my work of specifying fields. (Luckily was just playing around)
Activity
Benjamin Eberlei
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
| Fix Version/s | 2.x [ 10090 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 12751 ] | jira-feedback [ 13940 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 13940 ] | jira-feedback2 [ 15804 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 15804 ] | jira-feedback3 [ 18060 ] |
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-1229, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
not a bug, its a feature (though a dumb one). Improvement in a next version.