Use System.Text.Json as a backend for view model serialization #2984
Annotations
6 errors and 5 warnings
Tests (net472):
src/Tests/ViewModel/SerializerTests.cs#L232
Assert.AreEqual failed. Expected:<{"$type":"pUM6BN1XpGhNArrP","Item1":9,"Item2":8,"Item3":7,"Item4":6}>. Actual:<{"$type":"pczEps4E/vxByPfT","Item1":9,"Item2":8,"Item3":7,"Item4":6}>.
|
Tests (net472):
src/Tests/ViewModel/SerializerTests.cs#L467
Assert.AreEqual failed. Expected:<1/1/2000>. Actual:<1/1/0001>.
|
Tests (net472):
src/Tests/ViewModel/SerializerTests.cs#L488
Assert.AreEqual failed. Expected:<3:16 PM>. Actual:<12:00 AM>.
|
Tests (net472):
src/Tests/Runtime/ErrorPageTests.cs#L111
Test method DotVVM.Framework.Tests.Runtime.ErrorPageTests.SerializationReflectionAssembly threw exception:
System.Exception: ErrorPageTests.SerializationReflectionAssembly.json has changed, the actual output differs from the previous accepted output:
diff --git a/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json b/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json
index 7725a87..c5bcef3 100644
--- a/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json
+++ b/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json
@@ -1,5 +1,5 @@
{
- "assembly": "System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
- "assemblyObj": "System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
- "assemblyInterface": "System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
+ "assembly": "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
+ "assemblyObj": "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
+ "assemblyInterface": "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
}
Is this change OK? To let the test pass, stage the file in git. Confused? See https://github.com/exyi/CheckTestOutput/blob/master/trouble.md#changed-file
|
Tests (net472):
src/Tests/ControlTests/ViewModulesServerSideTests.cs#L36
Test method DotVVM.Framework.Tests.ControlTests.ViewModulesServerSideTests.IncludeViewModule threw exception:
System.Exception: ViewModulesServerSideTests.IncludeViewModule.html has changed, the actual output differs from the previous accepted output:
diff --git a/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html b/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html
index 032e690..90ee34f 100644
--- a/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html
+++ b/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html
@@ -22,7 +22,7 @@
<body>
<input id="__dot_viewmodel_root" type="hidden" value="{
"viewModel": {
- "$type": "4n/9KyUdRKOKC0n3",
+ "$type": "MD6qlCGp64JOYYrK",
"$csrfToken": "Not a CSRF token."
},
"url": "/testpage",
@@ -36,7 +36,7 @@
"viewModule.init.6DLlOTYMqGV5yPAJoz5k_moKDBgEmZ3_HLLQ2zKDo74"
],
"typeMetadata": {
- "4n/9KyUdRKOKC0n3": {"type":"object","debugName":"object","properties":{}}
+ "MD6qlCGp64JOYYrK": {"type":"object","debugName":"object","properties":{}}
}
}">
<script defer="" src="data:text/javascript;base64,ZG90dnZtLm9wdGlvbnMuY29tcHJlc3NQT1NUPWZhbHNlOwp3aW5kb3cuZG90dnZtLmluaXQoImVuLVVTIik7"></script>
Is this change OK? To let the test pass, stage the file in git. Confused? See https://github.com/exyi/CheckTestOutput/blob/master/trouble.md#changed-file
|
Tests (net472)
Process completed with exit code 1.
|
Set up
The target framework 'netcoreapp3.1' 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.
|
Set up
The target framework 'netcoreapp3.1' 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.
|
Set up
The target framework 'netcoreapp3.1' 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.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3, microsoft/[email protected], actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "analyzers-tests-net6.0-Debug-Linux", "analyzers-tests-net6.0-Debug-Windows", "analyzers-tests-net6.0-Release-Linux", "analyzers-tests-net6.0-Release-Windows", "framework-tests-net8.0-Debug-Linux", "framework-tests-net8.0-Debug-Windows", "framework-tests-net8.0-Release-Linux", "framework-tests-net8.0-Release-Windows".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
The logs for this run have expired and are no longer available.
Loading