Skip to content

Java SDK allows empty subject during deserialization #676

@pnt

Description

@pnt

Hi,

Specification says that "subject" is optional but if present, must be non-empty.

Doing a simple test with structured or binary event delivery shows that this is not validated by the standard deserializers - the screenshot below shows how a test expecting a 400 Bad Request actually passes with 200 OK.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions