Skip to content

Fix internal class being returned from media cache service #14548

Fix internal class being returned from media cache service

Fix internal class being returned from media cache service #14548

Triggered via pull request October 8, 2024 09:23
Status Failure
Total duration 10m 33s
Artifacts

codeql-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 12 warnings
CodeQL-Build
Assets file '/home/runner/work/Umbraco-CMS/Umbraco-CMS/tests/Umbraco.Tests.AcceptanceTest.UmbracoProject/obj/project.assets.json' not found. Run a NuGet package restore to generate this file.
CodeQL-Build
Assets file '/home/runner/work/Umbraco-CMS/Umbraco-CMS/tests/Umbraco.Tests.AcceptanceTest.UmbracoProject/obj/project.assets.json' not found. Run a NuGet package restore to generate this file.
CodeQL-Build
Process completed with exit code 1.
CodeQL-Build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, github/codeql-action/init@v2, actions/setup-dotnet@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
CodeQL-Build: src/Umbraco.Core/Services/ContentServiceExtensions.cs#L48
'Constants.Security.SuperUserId' is obsolete: 'Use SuperUserKey instead. Scheduled for removal in V15.'
CodeQL-Build: src/Umbraco.Core/Services/MediaServiceExtensions.cs#L37
'Constants.Security.SuperUserId' is obsolete: 'Use SuperUserKey instead. Scheduled for removal in V15.'
CodeQL-Build: src/Umbraco.Core/Semver/Semver.cs#L528
'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
CodeQL-Build: src/Umbraco.Core/Semver/Semver.cs#L528
'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
CodeQL-Build: src/Umbraco.Core/Exceptions/DataOperationException.cs#L100
Member 'DataOperationException<T>.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'DataOperationException<T>.GetObjectData(SerializationInfo, StreamingContext)'.
CodeQL-Build: src/Umbraco.Core/Exceptions/InvalidCompositionException.cs#L145
Member 'InvalidCompositionException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'InvalidCompositionException.GetObjectData(SerializationInfo, StreamingContext)'.
CodeQL-Build: src/Umbraco.Core/Services/DataTypeService.cs#L466
'Constants.Security.SuperUserId' is obsolete: 'Use SuperUserKey instead. Scheduled for removal in V15.'
CodeQL-Build: src/Umbraco.Core/Services/DataTypeService.cs#L620
'Constants.Security.SuperUserId' is obsolete: 'Use SuperUserKey instead. Scheduled for removal in V15.'
CodeQL-Build: src/Umbraco.Core/Services/ContentEditingService.cs#L20
'ILocalizationService' is obsolete: 'Please use ILanguageService and IDictionaryItemService for localization. Will be removed in V15.'
CodeQL-Build: src/Umbraco.Core/Services/ContentEditingService.cs#L66
'ILocalizationService' is obsolete: 'Please use ILanguageService and IDictionaryItemService for localization. Will be removed in V15.'
CodeQL-Build
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/