Skip to content

Basic support for DataContext={resource: ...} #3239

Basic support for DataContext={resource: ...}

Basic support for DataContext={resource: ...} #3239

Triggered via pull request November 24, 2024 15:18
Status Failure
Total duration 30m 43s
Artifacts 12

main.yml

on: pull_request
Build all projects without errors
7m 0s
Build all projects without errors
JS unit tests
1m 3s
JS unit tests
Matrix: Build published projects without warnings
Matrix: .NET unit tests
Matrix: UI tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 15 warnings
CantFindDataContextSpace: 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
.NET unit tests (ubuntu-latest)
Process completed with exit code 1.
CantFindDataContextSpace: 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
.NET unit tests (macOS-latest)
Process completed with exit code 1.
CantFindDataContextSpace: 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
.NET unit tests (windows-2022)
Process completed with exit code 1.
CantFindDataContextSpace: 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
.NET unit tests (windows-2022)
Process completed with exit code 1.
UI tests (chrome, ubuntu-latest, Production, Default)
Action failed since 12 tests failed.
UI tests (chrome, ubuntu-latest, Production, Default)
Process completed with exit code 1.
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
Action failed since 13 tests failed.
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
Process completed with exit code 1.
UI tests (firefox, ubuntu-latest, Production, Default)
Action failed since 12 tests failed.
UI tests (firefox, ubuntu-latest, Production, Default)
Process completed with exit code 1.
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests)
Action failed since 12 tests failed.
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests)
Process completed with exit code 1.
UI tests (firefox, ubuntu-latest, Development, Default)
Action failed since 12 tests failed.
UI tests (firefox, ubuntu-latest, Development, Default)
Process completed with exit code 1.
UI tests (chrome, windows-2022, Development, Default)
Action failed since 12 tests failed.
UI tests (chrome, windows-2022, Development, Default)
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/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/
JS unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build published projects without warnings (Release)
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. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
.NET unit tests (ubuntu-latest)
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, 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/
.NET unit tests (macOS-latest)
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, 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/
Build published projects without warnings (Debug)
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. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build all projects without errors
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]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
.NET unit tests (windows-2022)
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/
UI tests (chrome, ubuntu-latest, Production, Default)
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, 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/
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
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, 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/
UI tests (firefox, ubuntu-latest, Production, Default)
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, 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/
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests)
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, 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/
UI tests (firefox, ubuntu-latest, Development, Default)
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, 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/
UI tests (chrome, windows-2022, Development, Default)
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/
Deprecation notice: v1, v2, and v3 of the artifact actions
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/

Artifacts

Produced during runtime
Name Size
analyzers-tests-net6.0-Debug-Linux
71.9 KB
analyzers-tests-net6.0-Debug-Windows
71.1 KB
analyzers-tests-net6.0-Debug-macOS
72.2 KB
analyzers-tests-net6.0-Release-Linux
72.1 KB
analyzers-tests-net6.0-Release-Windows
71.3 KB
analyzers-tests-net6.0-Release-macOS
72.4 KB
chrome-tests-Linux-Production-Default
1.2 MB
chrome-tests-Linux-Production-ExperimentalFeaturesTests
1.06 MB
chrome-tests-Windows-Development-Default
1.79 MB
firefox-tests-Linux-Development-Default
2.96 MB
firefox-tests-Linux-Development-ExperimentalFeaturesTests
2.3 MB
firefox-tests-Linux-Production-Default
2.4 MB