Skip to content

[ObjectMapper] Fix class-level transformation has wrong source class#60831

Merged
nicolas-grekas merged 1 commit intosymfony:7.3from
mttsch:bugfix/60827
Jun 19, 2025
Merged

[ObjectMapper] Fix class-level transformation has wrong source class#60831
nicolas-grekas merged 1 commit intosymfony:7.3from
mttsch:bugfix/60827

Conversation

@mttsch
Copy link
Copy Markdown
Contributor

@mttsch mttsch commented Jun 19, 2025

Q A
Branch? 7.3
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #60827
License MIT

@mttsch
Copy link
Copy Markdown
Contributor Author

mttsch commented Jun 19, 2025

Not sure whether the unit test was really necessary, but I added it regardless to test the fix.

@nicolas-grekas nicolas-grekas changed the title [ObjectMapper] Fix parameter passed to class level transform [ObjectMapper] Fix class-level transformation has wrong source class Jun 19, 2025
@nicolas-grekas
Copy link
Copy Markdown
Member

Thank you @mttsch.

@nicolas-grekas nicolas-grekas merged commit 5c61353 into symfony:7.3 Jun 19, 2025
9 of 11 checks passed
@mttsch mttsch deleted the bugfix/60827 branch June 19, 2025 13:11
@fabpot fabpot mentioned this pull request Jun 28, 2025
Cafeine42 pushed a commit to Cafeine42/symfony that referenced this pull request Feb 21, 2026
…transform (mttsch)

This PR was merged into the 7.3 branch.

Discussion
----------

[ObjectMapper] Fix parameter passed to class level transform

| Q             | A
| ------------- | ---
| Branch?       | 7.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | Fix symfony#60827
| License       | MIT

<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the latest branch.
 - For new features, provide some code snippets to help understand usage.
 - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
 - Never break backward compatibility (see https://symfony.com/bc).
-->

Commits
-------

7a3c92f [ObjectMapper] Fix parameter passed to class level transform
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants