Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Messenger] PreventStopWorkerOnSignalsListener::$signals to be assigned to null in caseSIGTERM constant doesn't exist#50532

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:6.3fromalexandre-daubois:fix-null-signals
Jun 2, 2023

Conversation

@alexandre-daubois
Copy link
Member

QA
Branch?6.3
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#50529
LicenseMIT
Doc PRNA

Prevents the non-nullable property to be assigned to null 🙂

…igned to null in case `SIGTERM` constant doesn't exist
@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "6.4" but it seems your PR description refers to branch "6.3".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@alexandre-dauboisalexandre-daubois changed the base branch from6.4 to6.3June 1, 2023 15:10
@fabpotfabpot modified the milestones:6.4,6.3Jun 2, 2023
@fabpot
Copy link
Member

Thank you@alexandre-daubois.

@fabpotfabpot merged commit26891af intosymfony:6.3Jun 2, 2023
@alexandre-dauboisalexandre-daubois deleted the fix-null-signals branchJune 2, 2023 13:08
@shyim
Copy link
Contributor

Can we have a patch version for this fix? This seems to break our Symfony Project in dev-mode as EventDataCollector constructs the listener and then this bug is triggered.

#0 /Users/a.okko/Sites/6.5/testdev2/var/cache/dev_hb12f050958d24ad4316eb5bae74f455a/ContainerNjPmdUq/Shopware_Core_KernelDevDebugContainer.php(35680): Symfony\Component\Messenger\EventListener\StopWorkerOnSignalsListener->__construct() #1 /Users/a.okko/Sites/6.5/testdev2/var/cache/dev_hb12f050958d24ad4316eb5bae74f455a/ContainerNjPmdUq/Shopware_Core_KernelDevDebugContainer.php(13310): ContainerNjPmdUq\Shopware_Core_KernelDevDebugContainer::getMessenger_Listener_StopWorkerSignalsListenerService() #2 /Users/a.okko/Sites/6.5/testdev2/vendor/symfony/event-dispatcher/EventDispatcher.php(235): ContainerNjPmdUq\Shopware_Core_KernelDevDebugContainer::ContainerNjPmdUq\{closure}() #3 /Users/a.okko/Sites/6.5/testdev2/vendor/symfony/event-dispatcher/EventDispatcher.php(78): Symfony\Component\EventDispatcher\EventDispatcher->sortListeners() #4 /Users/a.okko/Sites/6.5/testdev2/src/Core/Content/Flow/Dispatching/FlowDispatcher.php(98): Symfony\Component\EventDispatcher\EventDispatcher->getListeners() #5 /Users/a.okko/Sites/6.5/testdev2/src/Core/Framework/Webhook/WebhookDispatcher.php(117): Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->getListeners() #6 /Users/a.okko/Sites/6.5/testdev2/src/Core/Framework/Event/NestedEventDispatcher.php(64): Shopware\Core\Framework\Webhook\WebhookDispatcher->getListeners() #7 /Users/a.okko/Sites/6.5/testdev2/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(98): Shopware\Core\Framework\Event\NestedEventDispatcher->getListeners() #8 /Users/a.okko/Sites/6.5/testdev2/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(368): Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListeners() #9 /Users/a.okko/Sites/6.5/testdev2/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(177): Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getListenersWithoutPriority() #10 /Users/a.okko/Sites/6.5/testdev2/vendor/symfony/http-kernel/DataCollector/EventDataCollector.php(75): Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->getNotCalledListeners() #11 /Users/a.okko/Sites/6.5/testdev2/vendor/symfony/http-kernel/Profiler/Profiler.php(100): Symfony\Component\HttpKernel\DataCollector\EventDataCollector->lateCollect() #12 /Users/a.okko/Sites/6.5/testdev2/vendor/symfony/http-kernel/EventListener/ProfilerListener.php(135): Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile()

@alexandre-daubois
Copy link
MemberAuthor

@shyim I guess this will come in 6.3.1, to be released by the end of the month

tinect reacted with confused emoji

@tinect
Copy link
Contributor

Is a more short-term release possible?

@fabpotfabpot mentioned this pull requestJun 26, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@stofstofstof approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.3

Development

Successfully merging this pull request may close these issues.

[Messenger] Null assigned to signals in StopWorkerOnSignalsListener

6 participants

@alexandre-daubois@carsonbot@fabpot@shyim@tinect@stof

[8]ページ先頭

©2009-2025 Movatter.jp