Skip to content

TransmissionId should only be allowed on activity type TransmissionOpened #1630

Open
@oskogstad

Description

Description

The validator activity validator allows setting TransmissionId on every activity type except DialogOpened.
It should only allow on TransmissionOpened.

Reproduction

Create an activity, f.ex. of type DialogCreated, and set transmissionId to a valid UUID (ie, a transmission on the dialog)

Expected behavior

400 BAD REQUEST saying transmissionId is not allowed for this activity type

Actual behavior

201 CREATED

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

  • Status

    Code Review og PR

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions