Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utvidet filvalidering blir kun kjørt ved POST data og ikke på PUT #614

Open
veronikaandersen opened this issue Apr 24, 2024 · 1 comment
Labels
status/draft Status: When you create an issue before you have enough info to properly describe the issue. status/triage

Comments

@veronikaandersen
Copy link
Contributor

veronikaandersen commented Apr 24, 2024

Description

Vi har implementert utvidet filvalidering, FileAnalyser og FileValidator, men ser at de kun blir kjørt ved POST og ikke ved PUT på data.
Man kan da potensielt laste opp data som er analysert og validert OK, for så erstatte de med noe som ikke er ok.

Additional Information

No response

Tasks

No response

Acceptance Criterias

No response

@veronikaandersen veronikaandersen added the status/draft Status: When you create an issue before you have enough info to properly describe the issue. label Apr 24, 2024
@veronikaandersen veronikaandersen changed the title FileAnalyser og FileValidator blir kun kjørt ved POST data og ikke på PUT Utvidet filvalidering blir kun kjørt ved POST data og ikke på PUT Apr 24, 2024
@OlaStalberg
Copy link

Denne utvidede filvalideringen bør også kjøres når instance opprettes direkte med datainnhold.
Hvis man utfører POST til {base}/instances med multipart-form så trigges ikke valideringen og man kan laste opp data med feil innhold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/draft Status: When you create an issue before you have enough info to properly describe the issue. status/triage
Projects
Status: No status
Development

No branches or pull requests

2 participants