-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dataValues are not set if the user does not make any changes before sending in #780
Comments
Was not able to reproduce this. I have an app implementing an Does it depend on how it is instantiated? I was doing this through the normal frontend |
Wait. Sorry, I actually forgot something important before reporting in. We actually prefill data in DataProcessing ( That might be the cause? If so, is there a way I can manually fill these values in? (Or maybe just make the call within If relevant I can at least say that the data we filll into |
Yeah |
Is |
I tried putting Instantiation in |
I think the issue is that we don't update data values if you use a multipart request to initialise the instance and data elements. app-lib-dotnet/src/Altinn.App.Api/Controllers/InstancesController.cs Lines 1157 to 1158 in 71b129f
|
|
Description of the bug
The
dataValues
fields are not set in an Instance if the user never makes any changes, but just clicks through the form and sends it in. We prefill some data, which means that occasionally a form might be filled correctly from the start and the user could just send it in, but we rely on thesedataValues
to correctly route the data to us.Steps To Reproduce
IInstantiationProcessor
to prefill data that can be a correct form in a new Instance.dataValues
fields have not been set.Additional Information
No response
The text was updated successfully, but these errors were encountered: