Skip to content

Validate static command argument type before deserialization #2737

Validate static command argument type before deserialization

Validate static command argument type before deserialization #2737

Triggered via push October 22, 2023 13:53
Status Failure
Total duration 24m 39s
Artifacts

main.yml

on: push
Build all projects without errors
15m 10s
Build all projects without errors
JS unit tests
1m 36s
JS unit tests
Matrix: Build published projects without warnings
Matrix: .NET unit tests
Matrix: UI tests
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 52 warnings
.NET unit tests (macOS-latest)
Literal_DateTimeToBrowserLocalTime_RenderOnServer: Test method DotVVM.Framework.Tests.Runtime.DotvvmControlRenderedHtmlTests.Literal_DateTimeToBrowserLocalTime_RenderOnServer threw exception:
.NET unit tests (macOS-latest): src/Tests/Binding/BindingCompilationTests.cs#L361
BindingCompiler_MoreComplexInference (List.RemoveFirst(item => item == 2),System.Int32[]): Test method DotVVM.Framework.Tests.Binding.BindingCompilationTests.BindingCompiler_MoreComplexInference threw exception:
.NET unit tests (macOS-latest): src/Tests/Binding/BindingCompilationTests.cs#L361
BindingCompiler_MoreComplexInference (List.RemoveLast(item => item == 2),System.Int32[]): Test method DotVVM.Framework.Tests.Binding.BindingCompilationTests.BindingCompiler_MoreComplexInference threw exception:
.NET unit tests (macOS-latest): src/Tests/Binding/BindingCompilationTests.cs#L361
BindingCompiler_MoreComplexInference (List.AddOrUpdate(11, i => i == 2, i => 22),System.Int32[]): Test method DotVVM.Framework.Tests.Binding.BindingCompilationTests.BindingCompiler_MoreComplexInference threw exception:
.NET unit tests (macOS-latest): src/Tests/Binding/BindingCompilationTests.cs#L361
BindingCompiler_MoreComplexInference (List.AddOrUpdate(11, i => i == 22, i => 33),System.Int32[]): Test method DotVVM.Framework.Tests.Binding.BindingCompilationTests.BindingCompiler_MoreComplexInference threw exception:
.NET unit tests (macOS-latest): src/Tests/Binding/JavascriptCompilationTests.cs#L495
JsTranslator_ListAddOrUpdate: Test method DotVVM.Framework.Tests.Binding.JavascriptCompilationTests.JsTranslator_ListAddOrUpdate threw exception:
.NET unit tests (macOS-latest): src/Tests/Binding/JavascriptCompilationTests.cs#L758
JsTranslator_ListRemoveFirst: Test method DotVVM.Framework.Tests.Binding.JavascriptCompilationTests.JsTranslator_ListRemoveFirst threw exception:
.NET unit tests (macOS-latest): src/Tests/Binding/JavascriptCompilationTests.cs#L765
JsTranslator_ListRemoveLast: Test method DotVVM.Framework.Tests.Binding.JavascriptCompilationTests.JsTranslator_ListRemoveLast threw exception:
.NET unit tests (macOS-latest)
Process completed with exit code 1.
UI tests (chrome, ubuntu-latest)
Action failed since 2 tests failed.
UI tests (chrome, ubuntu-latest)
Process completed with exit code 1.
UI tests (firefox, ubuntu-latest)
Action failed since 2 tests failed.
UI tests (firefox, ubuntu-latest)
Process completed with exit code 1.
UI tests (chrome, windows-2022)
Action failed since 2 tests failed.
UI tests (chrome, windows-2022)
Process completed with exit code 1.
JS unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build published projects without warnings (Debug)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
.NET unit tests (ubuntu-latest)
AutomaticIdGeneration_Repeater: The tests actually fails, the bug will be fixed in a separate PR - see https://github.com/riganti/dotvvm/issues/886
.NET unit tests (ubuntu-latest)
JavascriptCompilation_AssignAndUseObjectArray: Skipped
.NET unit tests (ubuntu-latest)
AutomaticIdGeneration_Repeater: The tests actually fails, the bug will be fixed in a separate PR - see https://github.com/riganti/dotvvm/issues/886
.NET unit tests (ubuntu-latest)
JavascriptCompilation_AssignAndUseObjectArray: Skipped
.NET unit tests (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build published projects without warnings (Release)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
.NET unit tests (macOS-latest)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
.NET unit tests (macOS-latest)
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
.NET unit tests (macOS-latest)
AutomaticIdGeneration_Repeater: The tests actually fails, the bug will be fixed in a separate PR - see https://github.com/riganti/dotvvm/issues/886
.NET unit tests (macOS-latest)
JavascriptCompilation_AssignAndUseObjectArray: Skipped
.NET unit tests (macOS-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
.NET unit tests (windows-2022)
AutomaticIdGeneration_Repeater: The tests actually fails, the bug will be fixed in a separate PR - see https://github.com/riganti/dotvvm/issues/886
.NET unit tests (windows-2022)
JavascriptCompilation_AssignAndUseObjectArray: Skipped
.NET unit tests (windows-2022)
AutomaticIdGeneration_Repeater: The tests actually fails, the bug will be fixed in a separate PR - see https://github.com/riganti/dotvvm/issues/886
.NET unit tests (windows-2022)
JavascriptCompilation_AssignAndUseObjectArray: Skipped
.NET unit tests (windows-2022)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build all projects without errors
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build all projects without errors
Detected Razor language version downgrade. This is typically caused by a reference to the Microsoft.AspNetCore.Razor.Design package. Consider removing this package reference.
Build all projects without errors
Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:
Build all projects without errors
- Add a dependency group for .NETStandard2.0 to the nuspec
UI tests (chrome, ubuntu-latest): src/Samples/Tests/Tests/SpaNavigationToEmptyUrlTests.cs#L22
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (chrome, ubuntu-latest): src/Samples/Tests/Tests/SpaNavigationToEmptyUrlTests.cs#L36
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (chrome, ubuntu-latest): src/Samples/Tests/Tests/Control/CheckBoxTests.cs#L190
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (chrome, ubuntu-latest): src/Samples/Tests/Tests/ErrorsTests.cs#L315
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
UI tests (chrome, ubuntu-latest): src/Samples/Tests/Tests/ErrorsTests.cs#L366
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
UI tests (chrome, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L27
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (chrome, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L38
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (chrome, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L44
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (chrome, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L52
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (chrome, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L54
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (firefox, ubuntu-latest): src/Samples/Tests/Tests/SpaNavigationToEmptyUrlTests.cs#L22
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (firefox, ubuntu-latest): src/Samples/Tests/Tests/SpaNavigationToEmptyUrlTests.cs#L36
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (firefox, ubuntu-latest): src/Samples/Tests/Tests/Control/CheckBoxTests.cs#L190
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (firefox, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L27
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (firefox, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L38
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (firefox, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L44
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (firefox, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L52
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (firefox, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L54
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (firefox, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L55
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (firefox, ubuntu-latest): src/Samples/Tests/Tests/Feature/ApiTests.cs#L60
'IElementWrapper.Wait()' is obsolete: 'Please use WaitFor or exact timeout.'
UI tests (chrome, windows-2022): src/Framework/Framework/Utils/ReadOnlyDictionaryWrapper.cs#L30
Nullability of reference types in type of parameter 'value' of 'bool ReadOnlyDictionaryWrapper<TKey, TValue>.TryGetValue(TKey key, out TValue value)' doesn't match implicitly implemented member 'bool IReadOnlyDictionary<TKey, TValue>.TryGetValue(TKey key, out TValue value)' (possibly because of nullability attributes).
UI tests (chrome, windows-2022): src/Framework/Framework/Controls/HtmlWriter.cs#L371
Possible null reference argument for parameter 'value' in 'void HtmlWriter.WriteAttributeValue(string value)'.
UI tests (chrome, windows-2022): src/Framework/Framework/Controls/HtmlGenericControl.cs#L469
Possible null reference argument for parameter 'text' in 'Literal.Literal(string text, bool renderSpan = false)'.
UI tests (chrome, windows-2022): src/Framework/Framework/Storage/FileSystemReturnedFileStorage.cs#L86
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
UI tests (chrome, windows-2022): src/Framework/Framework/ViewModel/Serialization/DefaultViewModelSerializer.cs#L374
Possible null reference argument for parameter 'controlUniqueId' in 'DotvvmControl? DotvvmControl.FindControlByUniqueId(string controlUniqueId)'.
UI tests (chrome, windows-2022): src/Framework/Framework/Compilation/ControlTree/ControlResolverBase.cs#L58
Possible null reference argument for parameter 'tagPrefix' in 'string ControlResolverBase.GetSearchKey(string tagPrefix, string tagName)'.
UI tests (chrome, windows-2022): src/Framework/Framework/Compilation/ControlTree/ControlResolverMetadataBase.cs#L68
Possible null reference argument for parameter 'key' in 'bool IReadOnlyDictionary<string, IPropertyDescriptor>.TryGetValue(string key, out IPropertyDescriptor value)'.
UI tests (chrome, windows-2022): src/Framework/Framework/Compilation/Javascript/JsPrettificationVisitor.cs#L164
The type 'DotVVM.Framework.Compilation.Javascript.Ast.JsExpression?' cannot be used as type parameter 'TNewNode' in the generic type or method 'JsAstHelpers.ReplaceWith<TNode, TNewNode>(TNode, Func<TNode, TNewNode>)'. Nullability of type argument 'DotVVM.Framework.Compilation.Javascript.Ast.JsExpression?' doesn't match constraint type 'DotVVM.Framework.Compilation.Javascript.Ast.JsNode'.
UI tests (chrome, windows-2022): src/Framework/Framework/Compilation/Javascript/JsPrettificationVisitor.cs#L164
The type 'DotVVM.Framework.Compilation.Javascript.Ast.JsExpression?' cannot be used as type parameter 'T' in the generic type or method 'JsAstHelpers.Detach<T>(T)'. Nullability of type argument 'DotVVM.Framework.Compilation.Javascript.Ast.JsExpression?' doesn't match constraint type 'DotVVM.Framework.Compilation.Javascript.Ast.JsNode'.