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] Added exception when setAutoInitialize() is called when locked#15682

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

Closed
jaytaph wants to merge1 commit intosymfony:2.7fromjaytaph:locked-formconfig
Closed

[Form] Added exception when setAutoInitialize() is called when locked#15682

jaytaph wants to merge1 commit intosymfony:2.7fromjaytaph:locked-formconfig

Conversation

@jaytaph
Copy link
Contributor

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

It seems that this method was missing a "locked" check, since it changes state and a locked instance should be immutable. However, becausesetAutoInitialize() is useful during the building of a form, it doesn't really matter a lot whether or not it is changed. But for consistency, it would be nicer if this method too was checked.

@fabpot
Copy link
Member

Thank you@jaytaph.

fabpot added a commit that referenced this pull requestSep 26, 2015
…when locked (jaytaph)This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes#15682).Discussion----------[Form] Added exception when setAutoInitialize() is called when locked| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |It seems that this method was missing a "locked" check, since it changes state and a locked instance should be immutable. However, because `setAutoInitialize()` is useful during the building of a form, it doesn't really matter a lot whether or not it is changed. But for consistency, it would be nicer if this method too was checked.Commits-------c269d6f Added exception when setAutoInitialize is called when locked
@fabpotfabpot closed thisSep 26, 2015
This was referencedOct 27, 2015
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@jaytaph@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp