-
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
Can't get "language" parameter during "IInstantiationProcessor" or "IUserAction" #927
Comments
Correct that it is missing on For the |
As far as I read the current |
@ivarne I am stuck on front-end version The Am I doing something wrong? Here is the place I use this for a button in the layout: https://altinn.studio/repos/brg/rrh-innrapportering/src/branch/560-engelsk-nynorsk/App/ui/rrh-form/layouts/rrh_utfylling.json#L183 |
It is fixed in 8.5.0 release candidates as well. |
@ivarne Is this https://altinn.studio/repos/brg/rrh-innrapportering/src/branch/560-engelsk-nynorsk |
Now I see, frontend does not send this properly, for user actions triggered by custom button. I'll open an issue in frontend. |
Closing this in favour of the more focused issue in frontend. Altinn/app-frontend-react#2759 |
Description of the bug
I need the language parameter for these as I need to store certain values in the datamodel in the correct language for the user.
IInstantiationProcessor->DataCreation
does not have any parameters for language at all.IUserAction->HandleAction
has a parameter of the typeUserActionContext
, which has a Language-parameter, but this one is alwaysnull
.According to the Network-tab in the browser, at least HandleAction does not even send language as part of the HTTP-request, so there in no way I can get it.
Steps To Reproduce
IUserAction->HandleAction
.Additional Information
No response
The text was updated successfully, but these errors were encountered: