-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Extract base form types for every entity used in AdminBundle #16257
Extract base form types for every entity used in AdminBundle #16257
Conversation
c7eed75
to
d8b4304
Compare
Bunnyshell Preview Environment deletedAvailable commands:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this PR shouldn't be opened against the 2.0 branch.
src/Sylius/Bundle/AdminBundle/Form/Type/CatalogPromotionScopeType.php
Outdated
Show resolved
Hide resolved
4584fe6
to
abc5fae
Compare
Why? |
b3542e4
to
5572ec9
Compare
I mean, these form changes are not necessarily related to |
src/Sylius/Bundle/AdminBundle/Resources/config/services/form.xml
Outdated
Show resolved
Hide resolved
490abec
to
6372a98
Compare
src/Sylius/Bundle/AdminBundle/Resources/config/services/twig/component.xml
Outdated
Show resolved
Hide resolved
This PR was merged into the 1.14 branch. Discussion ---------- | Q | A |-----------------|----- | Branch? | 1.14 <!-- see the comment below --> | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes <!-- don't forget to update the UPGRADE-*.md file --> | License | MIT <!-- - Bug fixes must be submitted against the 1.12 or 1.13 branches - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html --> related to #16257 changes Commits ------- f6f0150 [Admin] Deprecate FormTypeExtensions
6372a98
to
5222af2
Compare
…tensions (TheMilek) This PR was merged into the 1.14 branch. Discussion ---------- | Q | A |-----------------|----- | Branch? | 1.14 <!-- see the comment below --> | Bug fix? | no | New feature? | no | BC breaks? | no | License | MIT <!-- - Bug fixes must be submitted against the 1.12 or 1.13 branches - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html --> REF: #16257 Commits ------- 208b53f [ADR] Use Separate Base Form Types Instead of Type Extensions.
… AdminBundle (TheMilek) This PR was merged into the 1.14 branch. Discussion ---------- | Q | A |-----------------|----- | Branch? | 1.14 <!-- see the comment below --> | Bug fix? | no | New feature? | no | BC breaks? | no | License | MIT <!-- - Bug fixes must be submitted against the 1.12 or 1.13 branches - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html --> related to #16257 Commits ------- 178c651 [Admin] Add base form type for every resource used in AdminBundle db42466 Correct upgrade file d57118b add config
c5e8622
to
1fbcf89
Compare
src/Sylius/Bundle/AdminBundle/Form/Type/CatalogPromotionScopeType.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/AdminBundle/Form/Type/CatalogPromotionScopeType.php
Outdated
Show resolved
Hide resolved
1fbcf89
to
22fa361
Compare
22fa361
to
ef3462d
Compare
|
||
public function getBlockPrefix(): string | ||
{ | ||
return 'sylius_catalog_promotion_scope_for_products_configuration'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return 'sylius_catalog_promotion_scope_for_products_configuration'; | |
return 'sylius_admin_catalog_promotion_scope_for_products_configuration'; |
Thanks, Kamil! 🥇 |
| Q | A |-----------------|----- | Branch? | 2.0 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file --> | Related tickets | fixes #16257 (review) | License | MIT <!-- - Bug fixes must be submitted against the 1.12 or 1.13 branches - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html -->
This PR was merged into the 1.14 branch. Discussion ---------- | Q | A |-----------------|----- | Branch? | 1.14 <!-- see the comment below --> | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes <!-- don't forget to update the UPGRADE-*.md file --> | License | MIT <!-- - Bug fixes must be submitted against the 1.12 or 1.13 branches - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html --> related to Sylius/Sylius#16257 changes Commits ------- f6f015015961ce4fe992c3f60d7cd0c8d210ce71 [Admin] Deprecate FormTypeExtensions
| Q | A |-----------------|----- | Branch? | 2.0 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file --> | Related tickets | fixes Sylius/Sylius#16257 (review) | License | MIT <!-- - Bug fixes must be submitted against the 1.12 or 1.13 branches - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html -->
Based on #16238