Basic support for DataContext={resource: ...} #3239
Annotations
4 errors and 2 warnings
Tests (net8.0):
src/Tests/Runtime/RuntimeErrorTests.cs#L145
Test method DotVVM.Framework.Tests.Runtime.RuntimeErrorTests.CantFindDataContextSpace threw exception:
System.Exception: RuntimeErrorTests.CantFindDataContextSpace.txt has changed, the actual output differs from the previous accepted output:
diff --git a/src/Tests/Runtime/testoutputs/RuntimeErrorTests.CantFindDataContextSpace.txt b/src/Tests/Runtime/testoutputs/RuntimeErrorTests.CantFindDataContextSpace.txt
index dd29953..1178fad 100644
--- a/src/Tests/Runtime/testoutputs/RuntimeErrorTests.CantFindDataContextSpace.txt
+++ b/src/Tests/Runtime/testoutputs/RuntimeErrorTests.CantFindDataContextSpace.txt
@@ -1,5 +1,2 @@
-InvalidDataContextTypeException occurred: Could not find DataContext space of '{value: False}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors.
-Control's context is (type=string, par=[int]).
-Binding's context is (type=string).
-Real data context types: .
+InvalidDataContextTypeException occurred: Could not find DataContext space of '{value: False}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=string, par=[int]), binding's context is (type=string). Real data context types: .
at object DotVVM.Framework.Controls.DotvvmBindableObject.EvalPropertyValue(DotvvmProperty property, object value)
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 (net8.0)
Process completed with exit code 1.
|
Tests (net472):
src/Tests/Runtime/RuntimeErrorTests.cs#L145
Test method DotVVM.Framework.Tests.Runtime.RuntimeErrorTests.CantFindDataContextSpace threw exception:
System.Exception: RuntimeErrorTests.CantFindDataContextSpace.txt has changed, the actual output differs from the previous accepted output:
diff --git a/src/Tests/Runtime/testoutputs/RuntimeErrorTests.CantFindDataContextSpace.txt b/src/Tests/Runtime/testoutputs/RuntimeErrorTests.CantFindDataContextSpace.txt
index dd29953..1178fad 100644
--- a/src/Tests/Runtime/testoutputs/RuntimeErrorTests.CantFindDataContextSpace.txt
+++ b/src/Tests/Runtime/testoutputs/RuntimeErrorTests.CantFindDataContextSpace.txt
@@ -1,5 +1,2 @@
-InvalidDataContextTypeException occurred: Could not find DataContext space of '{value: False}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors.
-Control's context is (type=string, par=[int]).
-Binding's context is (type=string).
-Real data context types: .
+InvalidDataContextTypeException occurred: Could not find DataContext space of '{value: False}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=string, par=[int]), binding's context is (type=string). Real data context types: .
at object DotVVM.Framework.Controls.DotvvmBindableObject.EvalPropertyValue(DotvvmProperty property, object value)
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.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, microsoft/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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-macOS", "analyzers-tests-net6.0-Debug-Windows", "analyzers-tests-net6.0-Release-Linux", "analyzers-tests-net6.0-Release-macOS", "analyzers-tests-net6.0-Release-Windows", "chrome-tests-Linux-Production-Default", "chrome-tests-Linux-Production-ExperimentalFeaturesTests", "chrome-tests-Windows-Development-Default", "firefox-tests-Linux-Development-Default", "firefox-tests-Linux-Development-ExperimentalFeaturesTests", "firefox-tests-Linux-Production-Default".
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/
|
Loading