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

[Process] Fix bug where $this->callback is never null, resulting in bad argument#51478

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

Conversation

@weaverryan
Copy link
Member

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsNone
LicenseMIT
Doc PRNot needed

Hi!

Caused by#51068 - by the time$this->getDescriptors() is called,$this->callback is ALWAYS a callable thanks to$this->callback = $this->buildCallback($callback).

Previously, there was a separatehasCallback property that handled this logic. I chose to NOT re-add that because it was only needed ingetDescriptors() and that is only called from this one place: easier to pass$hasCallback as an argument.

Caught by the symfony/ux test suite ❤️

Cheers!

@stof
Copy link
Member

is there a way to write a test catching this, so that we don't have similar regressions ?

@weaverryan
Copy link
MemberAuthor

Test added 👍

@fabpotfabpotforce-pushed theprocess-fix-pipes-read-support-regression branch froma7f0739 to95aa236CompareOctober 16, 2023 20:23
@fabpot
Copy link
Member

Thank you@weaverryan.

@fabpotfabpot merged commit934aea0 intosymfony:6.4Oct 16, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

4 participants

@weaverryan@stof@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp