Altinn / app-frontend-react

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

Signing - Not working with only 1 process task #2064

Open bjorntore opened 2 weeks ago

bjorntore commented 2 weeks ago

Description of the bug

In dibk/ig-v3 they are attempting to only have one task, the singing task itself, and sign a data element that has been created through API.

When they call process/next, the signature elements are not created and the process continues to the end event.

Need to triage this, do determine if it is supposed to work. If it's not, we should document/give error.

Response expected in this thread: https://altinn.slack.com/archives/CCQEQKGJD/p1714044845070929

Steps To Reproduce

  1. Use branch Reduce_tasks in dibk/ig-v3. Or, from scratch: Create a process with only one task, the singing task, and in dataTypestoSign, add a form data type.

  2. Insert an element of the form data type using API.

  3. Call process/next.

Additional Information

No response