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

[PropertyInfo] Make sure that SerializerExtractor returns null for invalid class metadata#59367

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

Conversation

wuchen90
Copy link
Contributor

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
LicenseMIT

When we try to callgetProperties with a classname that doesn't exist, the classMetadataFactory will break.
In this case, this method should returnnull in order to fallback to other instances ofPropertyListExtractorInterface in case we're accessing thisgetProperties method with\Symfony\Component\PropertyInfo\PropertyInfoExtractor.

@carsonbotcarsonbot added this to the6.4 milestoneJan 6, 2025
@carsonbotcarsonbot changed the titlefix(property-info): make sure that SerializerExtractor returns null for invalid class metadata[PropertyInfo] fix(property-info): make sure that SerializerExtractor returns null for invalid class metadataJan 6, 2025
@nicolas-grekasnicolas-grekas changed the title[PropertyInfo] fix(property-info): make sure that SerializerExtractor returns null for invalid class metadata[PropertyInfo] Make sure that SerializerExtractor returns null for invalid class metadataJan 6, 2025
@wuchen90wuchen90force-pushed thefix-serializer-extractor branch fromdf8f3b1 to7bc832eCompareJanuary 7, 2025 09:10
@nicolas-grekas
Copy link
Member

Thank you@wuchen90.

@nicolas-grekasnicolas-grekas merged commitd7e6148 intosymfony:6.4Jan 7, 2025
11 checks passed
@wuchen90wuchen90 deleted the fix-serializer-extractor branchJanuary 7, 2025 10:21
This was referencedJan 29, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@xabbuhxabbuhxabbuh approved these changes

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

4 participants
@wuchen90@nicolas-grekas@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp