Altinn / Altinn/app-frontend-react
Feilmeldingssiden som vises etter en IInstantiationValidation klasse returnerer false, henter ikke ValidParties fra InstantiationValidationResult
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 33
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
### Description of the bug
Når man returnerer en InstantiationValidationResult i en IInstantiationValidation klasse, så kan man inkludere en liste av ValidParties. Det virker derimot som at denne ikke blir brukt til noe på feilmeldingssiden. Hadde i utgangspunktet forventet at brukeren ville få muligheten til å gjøre et nytt valg, basert på denne listen.

### Steps To Reproduce
1. Go to https://mat.apps.tt02.altinn.no/mat/mattilsynet-dyretransportoer/
2. Log inn med TestId som en daglig leder.
3. Velg et foretak som har underenheter.
4. Du skal nå få en 403 feilmelding med beskjed om at du må velge underenhet.
5. I loggen til 403 siden vil du se at validParties er definert, men tilsynelatende ikke brukt til noe.
### Additional Information
_No response_
Contributor guide
Research direction
Start by tracing the 403 error page shown after IInstantiationValidation returns false, then inspect how ValidParties from InstantiationValidationResult is passed into that page. Reproduce the underenhet-selection case described in the issue and verify that the listed valid parties are used to offer another choice.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100