Altinn / app-localtest

Solution for testing apps locally on your own machine
8 stars 13 forks source link

When importing a person with a role in a NUF from Tenor in User administation, the app crashes. #86

Open violaguttorm opened 8 months ago

violaguttorm commented 8 months ago

Description of the bug

When importing a person who is "Daglig leder" or similar for a NUF from Tenor, the app crashes when you try to view testData.json or try using the app on local.altinn.cloud. Importing the NUFs themselves or even the UTLAs they reference do not cause this to happen.

Not 100% this is exclusive to NUF role havers, but it does happen with "KONGE FIKEN" and "MOBIL KJØTTBOLLE" from Tenor at the very least.

image

Steps To Reproduce

  1. Import a person with a role in a NUF.
  2. Try to use the app from local.altinn.cloud or view testData.json.

Additional Information

No response