Fix compatibility code in ActionsController to properly handle the obsolete UpdatedDataModels #2642
test-and-analyze.yml
on: pull_request
Static code analysis
8m 1s
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)
|