-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #54851 [Serializer] Fixed "Warning: Attempt to read property "val…
…ue" on string" (michaljusiega, xabbuh) This PR was merged into the 7.1 branch. Discussion ---------- [Serializer] Fixed "Warning: Attempt to read property "value" on string" | Q | A | ------------- | --- | Branch? | 7.1 (7.1.0-BETA1) | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fixed regresion of #53160 | License | MIT Hi! I've updated my project to `7.1.0-BETA1` and I found an error. After update I got: `Warning: Attempt to read property "value" on string` in `vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:748` because in `733 line` the enum-case of value `TypeIdentifier` has been already readed. ![obraz](https://github.com/symfony/symfony/assets/16488888/5227ac76-0fb0-4b00-ab68-2394ab41d7b7) Quite not sure if tests are possible here. Commits ------- 90251c9 add test 4b3dcf1 Fixed "Warning: Attempt to read property "value" on string"
- Loading branch information
Showing
2 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters