Skip to content

Block prefix ambiguity #6636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from

Conversation

jonny-no1
Copy link
Contributor

For the reasoning behind this note please see issue symfony/symfony#18953.

I based my branch on 2.7 as this is when the issue first arose.

wouterj and others added 4 commits May 29, 2016 11:29
… one (WouterJ)

This PR was squashed before being merged into the 2.3 branch (closes symfony#6040).

Discussion
----------

Remove old File Upload article + improve the new one

| Q | A
| --- | ---
| Doc fix? | yes
| New docs? | yes
| Applies to | 2.3+
| Fixed tickets | symfony#5375

The old file upload article wasn't good, a new one was written by @javiereguiluz but the old one remained online. This PR removes the old one and documents the missing bits in the new article.

Commits
-------

888c61c Remove old File Upload article + improve the new one
* 2.3:
  Remove old File Upload article + improve the new one

Conflicts:
	cookbook/doctrine/file_uploads.rst
.. caution::

When the name of your form class matches any of the built-in field types,
your form might not be rendered correctly. A form
Copy link
Member

Choose a reason for hiding this comment

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

... might not be rendered ... -> ... won't be rendered ...

@@ -1122,6 +1122,23 @@ the choice is ultimately up to you.
));
}

.. caution::

When the name of your form class matches any of the built-in field types,
Copy link
Member

Choose a reason for hiding this comment

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

This does not only apply to the built-in types, but is also true for any other form type that is coming from third-party bundles/libraries.

@jonny-no1
Copy link
Contributor Author

@javiereguiluz @xabbuh all done.

@stof
Copy link
Member

stof commented Jun 9, 2016

@foaly-nr1 when you base your branch on 2.7, you should also select 2.7 as the target branch for the PR. Otherwise, the diff gets weird and the review is harder

@jonny-no1
Copy link
Contributor Author

Sorry my bad. Closing this to target symfony:2.7

@jonny-no1 jonny-no1 closed this Jun 9, 2016
@jonny-no1 jonny-no1 mentioned this pull request Jun 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants