Skip to content
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

Summary component sometimes uses Value instead of Label in PDFs. #2947

Closed
alehel opened this issue Jan 27, 2025 · 1 comment · Fixed by #2958
Closed

Summary component sometimes uses Value instead of Label in PDFs. #2947

alehel opened this issue Jan 27, 2025 · 1 comment · Fixed by #2958
Assignees
Labels
kind/bug Something isn't working

Comments

@alehel
Copy link

alehel commented Jan 27, 2025

Description of the bug

When a Summary component is used in a PDF, the Value is sometimes displayed, rather than the Label. Whether Value or Label is displayed will also vary from time to time, regardless of whether or not any changes have been made in the form. It seems to be random which of the two are used.

Attached screenshots show 2 examples of a field changing between the value and label in the generated pdf.

Image Image

Steps To Reproduce

  1. Run the app https://mat.apps.tt02.altinn.no/mat/mattilsynet-dyrepleier/
  2. Fill out the form.
  3. On the "Oppsummering", generate the PDF using the Altinn developer tools.
  4. Check the text for the fields: Nasjonalitet, Akademisk grad, Utdanningssted, hovedarbeidsområde, biarbeidsområder.
  5. Regenerate the PDF again and you will see that the values shown for these fields will not all be the same.

Additional Information

No response

@alehel alehel added the kind/bug Something isn't working label Jan 27, 2025
@alehel
Copy link
Author

alehel commented Jan 28, 2025

Same issue on Summary2 component.

@bjosttveit bjosttveit self-assigned this Jan 30, 2025
@bjosttveit bjosttveit moved this to 🔎 Review in Team Apps Jan 30, 2025
@bjosttveit bjosttveit moved this from 🔎 Review to 🧪 Test in Team Apps Jan 31, 2025
@martinothamar martinothamar moved this from 🧪 Test to ✅ Done in Team Apps Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants