Skip to content

Conversation

@Shoplifter
Copy link
Contributor

Q A
Branch? 4.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #29489
License MIT

prevents attemt to render of prototype in CollectionType when it has been rendered already.
(see Deprecated calling FormRenderer::searchAndRenderBlock for fields which were already rendered.)

@xabbuh xabbuh added this to the 3.4 milestone Dec 8, 2018
@nicolas-grekas
Copy link
Member

Please update the PR + commit titles to a standalone self-describing and short one. Please also add the target component in square brackets.

@Shoplifter Shoplifter changed the title fix for issue https://github.com/symfony/symfony/issues/29489 Open [TwigBridge][Form] Dec 8, 2018
@Shoplifter Shoplifter changed the title Open [TwigBridge][Form] [TwigBridge][Form] Prevent multiple rendering of form collection prototypes Dec 8, 2018
@nicolas-grekas nicolas-grekas changed the base branch from 4.2 to 3.4 December 12, 2018 17:31
@nicolas-grekas
Copy link
Member

Thank you @Shoplifter.

@nicolas-grekas nicolas-grekas merged commit ffd2722 into symfony:3.4 Dec 12, 2018
nicolas-grekas added a commit that referenced this pull request Dec 12, 2018
…ection prototypes (Shoplifter)

This PR was merged into the 3.4 branch.

Discussion
----------

[TwigBridge][Form] Prevent multiple rendering of form collection prototypes

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #29489   <!-- #-prefixed issue number(s), if any -->
| License       | MIT

prevents attemt to render of prototype in CollectionType when it has been rendered already.
(see [Deprecated calling FormRenderer::searchAndRenderBlock for fields which were already rendered.](https://github.com/symfony/symfony/blob/master/UPGRADE-4.2.md#form))

Commits
-------

ffd2722 [TwigBridge][Form] Prevent multiple rendering of form collection prototypes
@Shoplifter Shoplifter deleted the ticket_29489 branch December 12, 2018 18:51
@fabpot fabpot mentioned this pull request Jan 6, 2019
This was referenced Jan 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants