Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Correction on plural name entitiy #550

Closed
wants to merge 1 commit into from

Conversation

gabrielrincon
Copy link

@gabrielrincon gabrielrincon commented Apr 3, 2017

Because is a Bug with the entity name when i used a plural.

Because, dont make the name class correctly.

BUG: $tipoPersona = new Tipopersona();

CORRECT: $tipoPersona = new TipoPersona();

https://github.com/sensiolabs/SensioGeneratorBundle/issues/548

Because is a Bug with the entity name when i used a plural.  

https://github.com/sensiolabs/SensioGeneratorBundle/issues/548
@gabrielrincon gabrielrincon changed the title Update new.php.twig Correction on plural name entitiy Apr 24, 2017
@gabrielrincon
Copy link
Author

Today, persist this error. Please help me to approve this item. Thanks. @javiereguiluz @fabpot

@gabrielrincon
Copy link
Author

Look this error. My entity is called Pais. An this bug make me this change.

captura de pantalla de 2017-07-11 11-14-49

@OskarStark
Copy link
Contributor

You should rename your entity to a name which could be pluralized

@fabpot
Copy link
Member

fabpot commented Jul 18, 2017

@OskarStark is right. Closing.

@fabpot fabpot closed this Jul 18, 2017
@javiereguiluz
Copy link
Contributor

Quick comment: this has caused a lot of issues in the past. It's easy to think that people always develop applications in English ... but that's not true. We've received similar reports from people developing in French, Spanish, etc.

My question: could we consider changing this "feature" for Symfony 4? Thanks!

@gabrielrincon
Copy link
Author

@javiereguiluz thanks very much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants