{"id":18056302,"url":"https://github.com/monteiro/serializer-pr37087","last_synced_at":"2025-06-29T21:04:21.641Z","repository":{"id":66804057,"uuid":"269319542","full_name":"monteiro/serializer-pr37087","owner":"monteiro","description":"https://github.com/symfony/symfony/pull/37087","archived":false,"fork":false,"pushed_at":"2020-08-21T14:07:57.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T01:14:02.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monteiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-06-04T09:43:12.000Z","updated_at":"2020-08-21T14:07:59.000Z","dependencies_parsed_at":"2023-07-31T15:15:24.799Z","dependency_job_id":null,"html_url":"https://github.com/monteiro/serializer-pr37087","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/monteiro/serializer-pr37087","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monteiro%2Fserializer-pr37087","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monteiro%2Fserializer-pr37087/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monteiro%2Fserializer-pr37087/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monteiro%2Fserializer-pr37087/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monteiro","download_url":"https://codeload.github.com/monteiro/serializer-pr37087/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monteiro%2Fserializer-pr37087/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262667287,"owners_count":23345529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T01:14:35.389Z","updated_at":"2025-06-29T21:04:21.626Z","avatar_url":"https://github.com/monteiro.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# symfony 5.2 \n\nThis is a sample project where we can the bug and the fix.\n\n\n| Q             | A\n| ------------- | ---\n| Branch?       | 5.2\n| Bug fix?      | yes\n| New feature?  | yes \u003c!-- please update src/**/CHANGELOG.md files --\u003e\n| Deprecations? | no \u003c!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --\u003e\n| Tickets       | Fix #32719  ... \u003c!-- prefix each issue number with \"Fix #\", if any --\u003e\n| License       | MIT\n\n\nI have just duplicated the PR https://github.com/symfony/symfony/pull/33650 (from @skalpa) but using the new component ErrorHandler and removing the priority.\n\n\n### How to reproduce the bug?\n\n```\n  docker-compose up\n  bin/console messenger:consume external_messages\n  bin/console app:event:test\n  bin/console messenger:failed:retry -vvv \n```\n\n```\nIn PropertyAccessor.php line 201:                                                                                                                          \n  [Symfony\\Component\\PropertyAccess\\Exception\\InvalidArgumentException]                                                      \n  Expected argument of type \"Symfony\\Component\\Debug\\Exception\\FlattenException\", \"null\" given at property path \"previous\".  \n                                                                                                                             \n```\n\n### Solution\n\n- Create a FlattenException Normalizer into the Serializer Component.\n- Take into account that in this specific case the headers (in AMQP) are saved as json (because we are using the symfony serializer json format instead of the default php serializer).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonteiro%2Fserializer-pr37087","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonteiro%2Fserializer-pr37087","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonteiro%2Fserializer-pr37087/lists"}