Altinn / altinn-pdf

Altinn platform microservice for generating PDFs
0 stars 1 forks source link

Data model bindings is case-sensitive in PDF generation, but insensitive in other cases #7

Closed OddArneSaetervik closed 2 years ago

OddArneSaetervik commented 2 years ago

Bug originally created by @simendsjo Wed Mar 02 2022

Description

For a datamodel, a, using A in the databinding FormLayout works fine, while the field turns up blank in PDF generation.

Analysis

Created a minimal example of a form where input field no 2 has a different casing than the datamodel. Test shows that although PDF is case sensitive, so is app frontend.

Screenshots

bug-7.gif

acn-sbuad commented 2 years ago

As case sensitivity is not isolated to PDF but something we find multiple places in our solution I am closing the bug. If case insensitivity is required a feature request should be created. Will require both changes in app frontend and PDF generation.