Skip to content

Fix compatibility code in ActionsController to properly handle the obsolete UpdatedDataModels #2642

Fix compatibility code in ActionsController to properly handle the obsolete UpdatedDataModels

Fix compatibility code in ActionsController to properly handle the obsolete UpdatedDataModels #2642

Triggered via pull request November 6, 2024 07:54
Status Success
Total duration 8m 12s
Artifacts

test-and-analyze.yml

on: pull_request
Static code analysis
8m 1s
Static code analysis
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Static code analysis: src/Altinn.App.Api/Controllers/ActionsController.cs#L244
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
Static code analysis: src/Altinn.App.Api/Controllers/ActionsController.cs#L77
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/AuthorizationController.cs#L108
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/AuthorizationController.cs#L45
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/DataTagsController.cs#L50
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/DataTagsController.cs#L152
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/DataTagsController.cs#L91
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/EventsReceiverController.cs#L45
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/HomeController.cs#L63
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/ActionsController.cs#L244
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)