Altinn / Altinn/app-lib-dotnet

It is not possible to get person information in the localtest environment

Open
#118 1 comment 0 reactions 0 assignees View on GitHub
kind/bug
Dominant language
C#
Stars
8
Forks
27
Avg merge
1h 21m
Merged PRs (30d)
7

Description

## Description
When we have to lookup person information (from DSF) dynamically based on a person number, its required that we add code in the backend in processwrite to get the person information and fill it for the user. But this throws error

## To Reproduce
1. Go to 'ProcessDataWrite' in DataProcessingHandler
2. Add code to fill person information fields based on person number input field
3. Run the application, navigate to the person number input field, type in the person number and move out of the field
4. Unknown error

## Expected behavior
Person information is retreived and filled in the mapped input fields

## Screenshots
![image](https://user-images.githubusercontent.com/34273718/152798677-c261aeda-25c8-4bf7-b5b7-f966a83df2bb.png)

Contributor guide

Open the contributing guide

Research direction

Start at ProcessDataWrite in DataProcessingHandler and reproduce the person-number lookup in the localtest environment using the steps in the issue. Trace the unknown error when leaving the person number field; done means person information is retrieved and filled into the mapped input fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.