Skip to content

feat(content): Add error handling + logging to content route #39

feat(content): Add error handling + logging to content route

feat(content): Add error handling + logging to content route #39

Triggered via pull request August 28, 2024 10:32
Status Success
Total duration 2m 7s
Artifacts 1

code-pr-check.yml

on: pull_request
Build and run unit tests
1m 40s
Build and run unit tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build and run unit tests
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Heading.cs#L8
'Heading.Title' hides inherited member 'ContentBase.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Heading.cs#L9
'Heading.Subtitle' hides inherited member 'ContentBase.Subtitle'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Custom/CustomAccordion.cs#L17
'CustomAccordion.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Custom/CustomAttachment.cs#L16
'CustomAttachment.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Custom/CustomCard.cs#L18
'CustomCard.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Standard/EmbeddedAsset.cs#L17
'EmbeddedAsset.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Target.cs#L9
'Target.Fields' hides inherited member 'Entry<ContentBase>.Fields'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Target.cs#L10
'Target.Title' hides inherited member 'ContentBase.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Controllers/SitemapController.cs#L10
Change the paths of the actions of this controller to be relative and adapt the controller route accordingly. (https://rules.sonarsource.com/csharp/RSPEC-6931)

Artifacts

Produced during runtime
Name Size
code-coverage-report Expired
6.86 KB