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 select attributes according to recent Symfony form changes #10077

Merged
merged 2 commits into from Jan 8, 2019

Conversation

Zales0123
Copy link
Member

Q A
Branch? 1.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets related to symfony/symfony#29307
License MIT

Due to the latest Symfony 4.1.10/3.4.21 release and changes introduced in linked PR, a bug in select attribute type araised 🌤 Apparently, possible to select values in attribute configuration was saved with TextType form type, even though SelectAttributeValueTranslationsType should be used. It was somehow parsed before, but know it's not possible and this PR fixes this absurdity 🖖

@Zales0123 Zales0123 added the Potential Bug Potential bugs or bugfixes, that needs to be reproduced. label Jan 8, 2019
@Zales0123 Zales0123 requested a review from a team as a code owner January 8, 2019 13:00
@pamil pamil merged commit edddb99 into Sylius:1.2 Jan 8, 2019
@pamil
Copy link
Contributor

pamil commented Jan 8, 2019

Thank you, Mateusz! 🎉

@Zales0123 Zales0123 deleted the fix-build branch January 8, 2019 14:40
pamil added a commit that referenced this pull request Feb 3, 2019
…rm changes (Zales0123)

This PR was merged into the 1.1 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.1
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | related with #10077
| License         | MIT

Even though we don't support Sylius 1.1 yet, it would be nice to have the build passing 😄 This version should still get security fixes and it can be hard to determine if this security fix does not break anything if the build would be failing anyway 🔐 👁 

Commits
-------

8cad15e [1.1] Fix select attributes according to recent Symfony form changes
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
…rm changes (Zales0123)

This PR was merged into the 1.2 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.2
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | related to symfony/symfony#29307
| License         | MIT

Due to the latest Symfony 4.1.10/3.4.21 release and changes introduced in linked PR, a bug in select attribute type araised 🌤 Apparently, possible to select values in attribute configuration was saved with `TextType` form type, even though `SelectAttributeValueTranslationsType` should be used. It was somehow parsed before, but know it's not possible and this PR fixes this absurdity 🖖 

Commits
-------

51f7ec2 Fix select attributes according to recent Symfony form changes
b80fa00 Fix test in ResourceBundle (taken from Sylius#10062)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Potential bugs or bugfixes, that needs to be reproduced.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants