Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
16 stars 24 forks source link

Frontend validation should not validate dataModel in signing task #2091

Open CelineTrammi opened 2 weeks ago

CelineTrammi commented 2 weeks ago

Description of the bug

In signing task: When the user has sent in the form and wants to sign og reject the validation message comes up. image

Furthermore, the debugger shows the warning When validating the datamodel, validator null returned a validation error without a field {"severity":"warning","message":{"key":"DataElementValidatedAtWrongTask","params":["Task_1","Task_2"]},"category":0,"source":null}

Steps To Reproduce

Create app with v4 frontendt Configure a signing task after the form task. After sending in the form, press either the "reject" or "sign" button.

Additional Information

No response