-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Block prefix ambiguity #6636
Conversation
… 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 |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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.
@javiereguiluz @xabbuh all done. |
@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 |
Sorry my bad. Closing this to target |
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.