Altinn / Altinn/app-frontend-react

PersonLookup accepts "anything" after first 4 correct characters in surname

Open
#2,880 0 comments 0 reactions 0 assignees View on GitHub
kind/bug
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

PersonLookupComponent accepts anything after first 4 characters. Expected to return not found? Check if this is a bug in our system or with the folkeregisteret integration.

![Image](https://github.com/user-attachments/assets/c02d4eb5-0230-44bf-b9b2-0486385d92c1)
![Image](https://github.com/user-attachments/assets/c569ccc6-a246-42e4-8cfd-a1a00a625cf2)

Contributor guide

Open the contributing guide

Research direction

Start at PersonLookupComponent and reproduce the surname lookup using a correct first four characters followed by an invalid suffix. Determine whether the behavior originates in the frontend or the folkeregisteret integration; done means an invalid surname returns not found or the integration cause is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.