-
-
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
[Admin][Promotion] Fix removing taxon used in promotion rule #10365
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
GSadee
commented
May 8, 2019
•
edited
Loading
edited
Q | A |
---|---|
Branch? | 1.3 |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Related tickets | fixes #10225 |
License | MIT |
GSadee
added
the
Potential Bug
Potential bugs or bugfixes, that needs to be reproduced.
label
May 8, 2019
Tomanhez
reviewed
May 8, 2019
src/Sylius/Behat/Context/Ui/Admin/ManagingPromotionsContext.php
Outdated
Show resolved
Hide resolved
GSadee
force-pushed
the
remove-taxon-used-in-promotion
branch
from
May 9, 2019 07:27
0a701f5
to
b1732fa
Compare
lchrusciel
reviewed
May 9, 2019
src/Sylius/Bundle/CoreBundle/EventListener/TaxonDeletionListener.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/CoreBundle/EventListener/TaxonDeletionListener.php
Outdated
Show resolved
Hide resolved
…e that contains a removed taxon
GSadee
force-pushed
the
remove-taxon-used-in-promotion
branch
from
May 9, 2019 14:58
b1732fa
to
07d39f2
Compare
lchrusciel
reviewed
May 10, 2019
src/Sylius/Bundle/CoreBundle/EventListener/TaxonDeletionListener.php
Outdated
Show resolved
Hide resolved
GSadee
force-pushed
the
remove-taxon-used-in-promotion
branch
from
May 10, 2019 14:04
dab9ee8
to
1e82d3c
Compare
Zales0123
approved these changes
May 13, 2019
src/Sylius/Bundle/CoreBundle/EventListener/TaxonDeletionListener.php
Outdated
Show resolved
Hide resolved
GSadee
force-pushed
the
remove-taxon-used-in-promotion
branch
from
May 13, 2019 07:57
e3164ab
to
ee6508a
Compare
GSadee
force-pushed
the
remove-taxon-used-in-promotion
branch
from
May 13, 2019 09:07
ee6508a
to
93cd924
Compare
lchrusciel
approved these changes
May 13, 2019
'success' => 'positive', | ||
]; | ||
|
||
Assert::keyExists($typeClassMap, $type->__toString()); |
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'm just wondering, what is better
Suggested change
Assert::keyExists($typeClassMap, $type->__toString()); | |
Assert::keyExists($typeClassMap, (string) $type); |
Thank you, Grzegorz! 🥇 |
pamil
added a commit
that referenced
this pull request
May 15, 2019
…taxon tree changes (Zales0123) This PR was merged into the 1.3 branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | 1.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | #10228, #10365 | License | Commits ------- e539ee0 [Behat] Change scenarios to @javascript due to taxon tree changes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.