Skip to content

[Form] *_SET_DATA events are now guaranteed to be fired *after* the initial children were added #7878

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

Merged
merged 1 commit into from
Apr 30, 2013

Conversation

webmozart
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? yes
Deprecations? no
Tests pass? yes
Fixed tickets #7873
License MIT
Doc PR -

fabpot added a commit that referenced this pull request Apr 30, 2013
This PR was merged into the master branch.

Discussion
----------

[Form] *_SET_DATA events are now guaranteed to be fired *after* the initial children were added

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #7873
| License       | MIT
| Doc PR        | -

Commits
-------

441222e [Form] *_SET_DATA events are now guaranteed to be fired *after* the initial children were added
@fabpot fabpot closed this Apr 30, 2013
@fabpot fabpot merged commit 441222e into symfony:master Apr 30, 2013
*/
public function initialize()
{
throw new BadMethodCallException('Buttons cannot be initialized. Call initialized() on the root form instead.');
Copy link
Member

Choose a reason for hiding this comment

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

shouldn'tit be initialize() here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed in #7899

webmozart added a commit to webmozart/symfony that referenced this pull request May 2, 2013
fabpot added a commit that referenced this pull request May 2, 2013
This PR was merged into the master branch.

Discussion
----------

[Form] Fixed stofs from #7878

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

1939dfc [Form] Fixed stofs from #7878
@trsteel88
Copy link
Contributor

Is this for 2.3 only?

@stof
Copy link
Member

stof commented May 15, 2013

@trsteel88 yes it is. As it required breaking BC to add new methods in the interface, it could not be merged in older branches

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.

4 participants