-
Notifications
You must be signed in to change notification settings - Fork 7
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
IBX-929: Removed unused DeleteLocationEvent #75
Conversation
Could you please fix issues reported by phpstan ? |
Kudos, SonarCloud Quality Gate passed! |
I corrected this test, but it was not related to my changes, but I think that it will not be a problem to implement these changes along with this PR |
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.
@mateuszdebinski the change is ok, but how does this fix the reported issue?
onDeleteLocation function called updateLocationWithChildren and this function get the location by id and content for the location, which raised exceptions because the location did not exist anymore |
You can merge it up now. |
IBX-747: Dropped ContentService
v3.3
This event was moved from eZ Platform 2.5 but was under review it turned out that in 2.5 nothing was happening anyway when calling it:
a function that is assigned to a slot in 2.5:
ezrecommendation-client/src/lib/Service/SignalSlotService.php
Line 99 in 7b4ad6f
where the function
getContent
return null because content not found:ezrecommendation-client/src/lib/Service/SignalSlotService.php
Line 186 in 7b4ad6f
finally, the
processSending
function does nothing because $content is set to null:ezrecommendation-client/src/lib/Service/SignalSlotService.php
Line 234 in 7b4ad6f
After talking to Tomasz, we agreed that this event can be removed in 3.3
Checklist:
$ composer fix-cs
).@ezsystems/php-dev-team
).