Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Form] Update create_form_type_extension.rst#16506

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:5.4fromissamkhadiri1989:patch-4
Feb 15, 2022

Conversation

@issamkhadiri1989
Copy link
Contributor

Hello,
I think the conditionimage_url is not null is not enough as if we create a FileType form field without theimage_property it causes an error. Addingimage_url is defined is necessary because the variableimage_url is only defined and passed to the view whenimage_property is already defined.

@carsonbotcarsonbot changed the titleUpdate create_form_type_extension.rst[Form] Update create_form_type_extension.rstFeb 15, 2022
Hello,I think the condition `image_url is not null` is not enough as if we create a FileType form field without the `image_property` it causes an error. Adding `image_url is defined` is necessary  because the variable `image_url` is only defined and passed to the view when `image_property` is already defined.
@javiereguiluz
Copy link
Member

Thanks Issam.

@javiereguiluzjaviereguiluz merged commitb790aee intosymfony:5.4Feb 15, 2022
xabbuh pushed a commit to xabbuh/symfony-docs that referenced this pull requestMar 13, 2022
…amkhadiri1989)This PR was submitted for the 6.0 branch but it was merged into the 5.4 branch instead.Discussion----------[Form] Update create_form_type_extension.rstHello,I think the condition `image_url is not null` is not enough as if we create a FileType form field without the `image_property` it causes an error. Adding `image_url is defined` is necessary  because the variable `image_url` is only defined and passed to the view when `image_property` is already defined.<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/releases for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `6.x` for features of unreleased versions).-->Commits-------85470c5 Update create_form_type_extension.rst
javiereguiluz added a commit that referenced this pull requestMar 15, 2022
…luz)This PR was merged into the 4.4 branch.Discussion----------[Form] Update create_form_type_extension.rstbackport#16506 to `4.4`Commits-------ac8a988 minor#16506 [Form] Update create_form_type_extension.rst (issamkhadiri1989)
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull requestMar 15, 2022
* 4.4:  Add quotations marks  minorsymfony#16506 [Form] Update create_form_type_extension.rst (issamkhadiri1989)
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull requestMar 15, 2022
* 5.4:  Add quotations marks  minorsymfony#16506 [Form] Update create_form_type_extension.rst (issamkhadiri1989)  Typo
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull requestMar 15, 2022
* 6.0:  Add quotations marks  minorsymfony#16506 [Form] Update create_form_type_extension.rst (issamkhadiri1989)  Typo
This was referencedOct 27, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhAwaiting requested review from xabbuh

2 more reviewers

@94noni94noni94noni approved these changes

@ycerutoycerutoyceruto approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@issamkhadiri1989@javiereguiluz@94noni@yceruto@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp