Altinn / Altinn/app-frontend-react

Recipient field displayed as error in receipt in LocalTest if app owner not registered in Altinn.

Open
#277 0 comments 0 reactions 0 assignees View on GitHub
area/receipt area/test bug/c2 kind/bug up-for-grabs
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

## Describe the bug
Field displayed as error in receipt if app owner not registered in Altinn.
This is confusing for users testing locally and working with an org that isn't registered as an app owner yet.
Consider using orgId for this field at least in localtest

## To Reproduce
Steps to reproduce the behavior:
1. Run an app locally as a user who isn't a registered org
2. Complete form and send in
3. See error

## Expected behavior
Should not be displayed as en error.

## Screenshots
![image](https://user-images.githubusercontent.com/47737608/91539147-2dcbb300-e919-11ea-8cae-f03ea906f53b.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the local test flow described: run an app with an unregistered organization, complete the form, submit it, and inspect the receipt. Trace the frontend code that renders the recipient field and determine how the local test owner is represented; done means the receipt no longer displays an error for this case and uses the organization ID when appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.