Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make possible to autowire services generated by ResourceBundle#10062

Merged
pamil merged 3 commits into
Sylius:masterfrom
pamil:1.4-autowiring-for-resource-bundle
Jan 9, 2019
Merged

Make possible to autowire services generated by ResourceBundle#10062
pamil merged 3 commits into
Sylius:masterfrom
pamil:1.4-autowiring-for-resource-bundle

Conversation

@pamil
Copy link
Copy Markdown
Contributor

@pamil pamil commented Jan 2, 2019

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets -
License MIT

This feature is only available when used with Symfony DependencyInjection ^4.2.

TODO:

  • Automatic tests
  • Symfony 4.2-based job on Travis

screenshot 2019-01-02 at 16 28 33

@pamil pamil added Feature New feature proposals. RFC Discussions about potential changes or new features. labels Jan 2, 2019
@pamil pamil requested a review from a team as a code owner January 2, 2019 15:29
pamil added a commit that referenced this pull request Jan 3, 2019
… drivers or metadata classes (pamil)

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 | -
| License         | MIT

Makes working on PRs like #10062 easier.


Commits
-------

cddb6bf Do not require clearing cache when changing ResourceBundle drivers or metadata classes
@pamil pamil changed the title [WIP] Make possible to autowire services generated by ResourceBundle Make possible to autowire services generated by ResourceBundle Jan 3, 2019
@pamil pamil force-pushed the 1.4-autowiring-for-resource-bundle branch 2 times, most recently from cfe966a to 1769995 Compare January 5, 2019 12:50
Zales0123 added a commit to Zales0123/Sylius that referenced this pull request Jan 8, 2019
pamil added a commit that referenced this pull request Jan 8, 2019
…nges (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 #10062)
pamil added a commit that referenced this pull request Jan 8, 2019
* 1.2:
  Fix test in ResourceBundle (taken from #10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit that referenced this pull request Jan 8, 2019
* 1.3:
  Fix test in ResourceBundle (taken from #10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
@pamil pamil force-pushed the 1.4-autowiring-for-resource-bundle branch from aa8f7b2 to b156a83 Compare January 8, 2019 14:58
@pamil pamil closed this Jan 8, 2019
@pamil pamil reopened this Jan 8, 2019
@pamil pamil merged commit e4dd6c7 into Sylius:master Jan 9, 2019
@pamil pamil deleted the 1.4-autowiring-for-resource-bundle branch January 9, 2019 09:23
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
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)
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.3:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
pamil added a commit to pamil/Sylius that referenced this pull request May 7, 2019
* 1.2:
  Fix test in ResourceBundle (taken from Sylius#10062)
  Fix select attributes according to recent Symfony form changes
  It's 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature proposals. RFC Discussions about potential changes or new features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants