Altinn / Altinn/app-frontend-react

Error message on receipt page

Open
#239 5 comments 0 reactions 0 assignees View on GitHub
area/receipt kind/user-story status/draft
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

## Description
What happens if a user tries to enter an URL for an instance of a receipt page when they are not logged in or don't have correct rights to see the receipt?

Is this a potential problem? If so what type of scenarios are likely to happen?

## Analysis
When trying to access the receipt of an instance that doesn't exists the receipt page will appear and the content seem to be loading..

![image.png](https://images.zenhubusercontent.com/5c8f655333fd990b927f5ea1/df470478-b621-40ef-b7e6-96dbc2d1b945)

## Tasks
- [ ] Verify that this issue meets DoP (remove unused text, add missing text/parameters/labels, verify tasks).

## Specification tasks
- [ ] Is this a case we should look into
- [ ] Specify/design error message
- [ ] Test design / decide test need

## Development tasks
- [ ] Documentation (if relevant)
- [ ] Manual test (if needed)
- [ ] Automated test (if needed)

Contributor guide

Open the contributing guide

Research direction

No source file, entry point, or test is named. Start by reproducing direct access to a nonexistent receipt URL while unauthenticated or unauthorized, then determine the expected error message and whether automated or manual tests are needed; done requires the scenario, message, and test decision to be specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.