Skip to content
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

Fix upgrade prototype name option #5833

Merged
merged 2 commits into from Oct 25, 2012

Conversation

greg0ire
Copy link
Contributor

No description provided.

Grégoire Paris added 2 commits October 25, 2012 10:33
@@ -423,22 +423,13 @@
* In the collection type's template, the default name of the prototype field
has changed from `$$name$$` to `__name__`.

For custom names, dollar signs are no longer prepended and appended. You are
Copy link
Member

Choose a reason for hiding this comment

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

Why do you want to remove this part?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because I don't remember this was even possible in 2.0 ... the documentation says the "prototype" option is supposed to be a boolean, so the 'prototype' => 'proto', part looks very dubious to me. And the $$name$$ default does not look it is configurable at all in the code in 2.0... what do you think?

fabpot added a commit that referenced this pull request Oct 25, 2012
This PR was merged into the 2.1 branch.

Commits
-------

6fb4a1b Remove § about prototype_name customization in 2.0
8a347fd fix option name

Discussion
----------

Fix upgrade prototype name option
@fabpot fabpot merged commit 6fb4a1b into symfony:2.1 Oct 25, 2012
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.

None yet

2 participants