Skip to content

Added support for displaying a text if the user is previewing the pdf #2697

Added support for displaying a text if the user is previewing the pdf

Added support for displaying a text if the user is previewing the pdf #2697

Triggered via pull request November 13, 2024 15:05
Status Success
Total duration 8m 42s
Artifacts

test-and-analyze.yml

on: pull_request
Static code analysis
7m 33s
Static code analysis
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Static code analysis: src/Altinn.App.Core/Models/UserAction/UserActionContext.cs#L53
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Static code analysis: src/Altinn.App.Core/Models/UserAction/UserActionContext.cs#L43
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
Static code analysis: src/Altinn.App.Core/Internal/Pdf/PdfService.cs#L51
Constructor has 9 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
Static code analysis: src/Altinn.App.Core/Internal/Pdf/PdfService.cs#L179
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
Static code analysis: src/Altinn.App.Core/Internal/Pdf/PdfService.cs#L310
Logging in a catch clause should pass the caught exception as a parameter. (https://rules.sonarsource.com/csharp/RSPEC-6667)
Static code analysis: src/Altinn.App.Core/Internal/Pdf/PdfService.cs#L310
Don't use string interpolation in logging message templates. (https://rules.sonarsource.com/csharp/RSPEC-2629)
Static code analysis: src/Altinn.App.Core/Internal/Data/InstanceDataUnitOfWork.cs#L590
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
Static code analysis: src/Altinn.App.Core/Internal/Data/InstanceDataUnitOfWork.cs#L597
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
Static code analysis: src/Altinn.App.Core/Internal/Data/InstanceDataUnitOfWork.cs#L608
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
Static code analysis: src/Altinn.App.Core/Internal/Data/InstanceDataUnitOfWork.cs#L612
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)