Skip to content

Implement keyword-based dynamic text replacement #1552

Implement keyword-based dynamic text replacement

Implement keyword-based dynamic text replacement #1552

Triggered via pull request December 1, 2024 09:07
Status Failure
Total duration 7m 7s
Artifacts 1

build-and-analyze.yml

on: pull_request
Build, test & analyze
7m 1s
Build, test & analyze
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Build, test & analyze
Process completed with exit code 1.
Build, test & analyze
At least one failing test was found
Build, test & analyze: src/Altinn.Notifications.Core/Services/SmsOrderProcessingService.cs#L108
Possible null reference argument for parameter 'smsRecipient' in 'Task ISmsNotificationService.CreateNotification(Guid orderId, DateTime requestedSendTime, List<SmsAddressPoint> smsAddresses, SmsRecipient smsRecipient, int smsCount, bool ignoreReservation = false)'.
Build, test & analyze: src/Altinn.Notifications.Core/Services/EmailOrderProcessingService.cs#L107
Possible null reference argument for parameter 'emailRecipient' in 'Task IEmailNotificationService.CreateNotification(Guid orderId, DateTime requestedSendTime, List<EmailAddressPoint> emailAddresses, EmailRecipient emailRecipient, bool ignoreReservation = false)'.
Build, test & analyze: src/Altinn.Notifications/appsettings.json#L11
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Notifications/appsettings.json#L12
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Notifications.Core/Services/SmsOrderProcessingService.cs#L108
Possible null reference argument for parameter 'smsRecipient' in 'Task ISmsNotificationService.CreateNotification(Guid orderId, DateTime requestedSendTime, List<SmsAddressPoint> smsAddresses, SmsRecipient smsRecipient, int smsCount, bool ignoreReservation = false)'.
Build, test & analyze: src/Altinn.Notifications.Core/Services/EmailOrderProcessingService.cs#L107
Possible null reference argument for parameter 'emailRecipient' in 'Task IEmailNotificationService.CreateNotification(Guid orderId, DateTime requestedSendTime, List<EmailAddressPoint> emailAddresses, EmailRecipient emailRecipient, bool ignoreReservation = false)'.
Build, test & analyze: src/Altinn.Notifications/appsettings.json#L11
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Notifications/appsettings.json#L12
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Notifications.Core/Services/SmsOrderProcessingService.cs#L108
Possible null reference argument for parameter 'smsRecipient' in 'Task ISmsNotificationService.CreateNotification(Guid orderId, DateTime requestedSendTime, List<SmsAddressPoint> smsAddresses, SmsRecipient smsRecipient, int smsCount, bool ignoreReservation = false)'.
Build, test & analyze: src/Altinn.Notifications.Core/Services/EmailOrderProcessingService.cs#L107
Possible null reference argument for parameter 'emailRecipient' in 'Task IEmailNotificationService.CreateNotification(Guid orderId, DateTime requestedSendTime, List<EmailAddressPoint> emailAddresses, EmailRecipient emailRecipient, bool ignoreReservation = false)'.

Artifacts

Produced during runtime
Name Size
TestResults
179 KB