Skip to content

Split reducer throws exception if payload is null. #121

@WillsB3

Description

@WillsB3

Hey,

I've just found an issue that occurs when dispatching an action where payload is null.

One of our applications actions does this and it's causing the Split reducer to throw an exception, even though the action is unrelated to Split. It occurs when the Split reducer tries to read the timestamp property of payload (which is null).

Please see attached screenshots that show the Split reducer throwing an exception when our application dispatches a SET_REDEMPTION_PARTNER_DETAILS action with payload of null.

This behaviour was observed using version 1.14.0 of the Redux SDK.

Screenshot 2024-10-14 at 12 34 18
Screenshot 2024-10-14 at 12 33 42

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions