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

Appearance settings

[Form] Remove group options without data on debug:form command #25404

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
Dec 31, 2017

Conversation

yceruto
Copy link
Member

@yceruto yceruto commented Dec 8, 2017

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

This also fix the normalization of the options column for text descriptor, regardless of changes in collectOptions() method (which is enough to fix the related bug).

@maidmaid could you confirm if these changes solve the problem?

@yceruto
Copy link
Member Author

yceruto commented Dec 8, 2017

(Travis failure unrelated)

@stof
Copy link
Member

stof commented Dec 8, 2017

this will remove also options with a false value for instance, which looks bad

@yceruto
Copy link
Member Author

yceruto commented Dec 8, 2017

this will remove also options with a false value for instance, which looks bad

@stof no, this is a list of defined options only, i.e they are names (strings).

@maidmaid
Copy link
Contributor

maidmaid commented Dec 9, 2017

I just applied your patch, and yes it works.

@yceruto
Copy link
Member Author

yceruto commented Dec 9, 2017

@maidmaid thanks!

Copy link
Contributor

@Simperfit Simperfit left a comment

Choose a reason for hiding this comment

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

Travis failure in unrelated

@chalasr
Copy link
Member

chalasr commented Dec 10, 2017

@yceruto Could you add a test case to prevent regressions?

@yceruto
Copy link
Member Author

yceruto commented Dec 13, 2017

Test added (still failure is unrelated)

@fabpot
Copy link
Member

fabpot commented Dec 31, 2017

Thank you @yceruto.

@fabpot fabpot merged commit 083c8af into symfony:3.4 Dec 31, 2017
fabpot added a commit that referenced this pull request Dec 31, 2017
…mand (yceruto)

This PR was merged into the 3.4 branch.

Discussion
----------

[Form] Remove group options without data on debug:form command

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

This also fix the normalization of the options column for text descriptor, regardless of changes in `collectOptions()` method (which is enough to fix the related bug).

@maidmaid could you confirm if these changes solve the problem?

Commits
-------

083c8af Remove group options without data and fix normalization
@yceruto yceruto deleted the debug_form_bug branch January 2, 2018 17:23
@fabpot fabpot mentioned this pull request Jan 5, 2018
@fabpot fabpot mentioned this pull request Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.