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

Fixed Form 2.7 compatibility in type and crud generation #511

Merged
merged 1 commit into from Oct 9, 2016

Conversation

HeahDude
Copy link
Contributor

@HeahDude HeahDude commented Oct 9, 2016

No description provided.

@HeahDude HeahDude force-pushed the fix/form-generator_2_7_compat branch from c701fde to bbbdb53 Compare October 9, 2016 18:21
@@ -22,7 +22,7 @@
if ($form->isSubmitted() && $form->isValid()) {
$em = $this->getDoctrine()->getManager();
$em->remove(${{ entity_singularized }});
$em->flush();
$em->flush(${{ entity_singularized }});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks unrelated 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not the only minor optimization hidden around ;)

@fabpot
Copy link
Member

fabpot commented Oct 9, 2016

Thank you @HeahDude.

@fabpot fabpot merged commit bbbdb53 into sensiolabs:master Oct 9, 2016
fabpot added a commit that referenced this pull request Oct 9, 2016
…ahDude)

This PR was merged into the 3.0.x-dev branch.

Discussion
----------

Fixed Form 2.7 compatibility in type and crud generation

Commits
-------

bbbdb53 Fixed Form 2.7 compatibility in type and crud generation
@HeahDude HeahDude deleted the fix/form-generator_2_7_compat branch October 9, 2016 19:33
HeahDude added a commit to HeahDude/SensioGeneratorBundle that referenced this pull request Oct 10, 2016
fabpot added a commit that referenced this pull request Oct 10, 2016
This PR was merged into the 3.0.x-dev branch.

Discussion
----------

Fixed crud generator regression after #511

Closes #515.

Commits
-------

1f0b9f8 Fixed crud generator regression after #511
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
3 participants