Skip to content

[Messenger] DeduplicateMiddleware using Symfony Serializer #60659

Open
@or-benjamin

Description

@or-benjamin

Symfony version(s) affected

7.3

Description

When using the symfony serializer component to save messages data in a database, the deserializer is not able to deserialize the DeduplicateStamp.

Error : Could not decode stamp: The type of the "key" attribute for class "Symfony\Component\Messenger\Stamp\DeduplicateStamp" must be one of "string" ("array" given).

How to reproduce

Reproduction Repo : https://github.com/or-benjamin/Symfony-Messenger-DeduplicateMiddleware-Bug

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions