You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…es (#1631)
<!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
The validator activity validator allows setting TransmissionId on every
activity type except DialogOpened.
It should only allow on TransmissionOpened.
## Related Issue(s)
- #1630
## Verification
- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)
## Documentation
- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
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 settransmissionId
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
The text was updated successfully, but these errors were encountered: