Basic support for DataContext={resource: ...} #3238
main.yml
on: pull_request
Build all projects without errors
11m 0s
JS unit tests
1m 0s
Matrix: Build published projects without warnings
Matrix: .NET unit tests
Matrix: UI tests
Annotations
42 errors and 15 warnings
WrappedHierarchyRepeaterControlWithGeneratedIds:
src/Tests/ControlTests/CompositeControlTests.cs#L105
Test method DotVVM.Framework.Tests.ControlTests.CompositeControlTests.WrappedHierarchyRepeaterControlWithGeneratedIds threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.CompositeControlTests.BasicTestViewModel.HierarchyVM, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.CompositeControlTests.BasicTestViewModel.HierarchyVM, ext=[_index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]). Real data context types: CompositeControlTests.BasicTestViewModel.HierarchyVM, CompositeControlTests.BasicTestViewModel.
|
MenuRepeater:
src/Tests/ControlTests/CompositeControlTests.cs#L308
Test method DotVVM.Framework.Tests.ControlTests.CompositeControlTests.MenuRepeater threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: _this}'. 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, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]), binding's context is (type=string, ext=[_index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]). Real data context types: string, CompositeControlTests.BasicTestViewModel.
|
CommandDataPager:
src/Tests/ControlTests/DataPagerTests.cs#L33
Test method DotVVM.Framework.Tests.ControlTests.DataPagerTests.CommandDataPager threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: (_thisIndex == _this.Customers.PagingOptions.PageIndex)}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]), binding's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]). Real data context types: null, DataPagerTests.GridViewModel.
|
StaticCommandPager:
src/Tests/ControlTests/DataPagerTests.cs#L58
Test method DotVVM.Framework.Tests.ControlTests.DataPagerTests.StaticCommandPager threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: (_thisIndex == _this.Customers.PagingOptions.PageIndex)}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]), binding's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]). Real data context types: null, DataPagerTests.GridViewModel.
|
HideableDataPager:
src/Tests/ControlTests/DataPagerTests.cs#L86
Test method DotVVM.Framework.Tests.ControlTests.DataPagerTests.HideableDataPager threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: (_thisIndex == _this.Customers.PagingOptions.PageIndex)}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]), binding's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]). Real data context types: null, DataPagerTests.GridViewModel.
|
UsageWithThisInBindings:
src/Tests/ControlTests/HierarchyRepeaterTests.cs#L30
Test method DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.UsageWithThisInBindings threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]). Real data context types: HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, HierarchyRepeaterTests.BasicTestViewModel.
|
CommandInMarkupControl (True):
src/Tests/ControlTests/HierarchyRepeaterTests.cs#L49
Test method DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.CommandInMarkupControl threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]). Real data context types: HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, HierarchyRepeaterTests.BasicTestViewModel.
|
CommandInMarkupControl (False):
src/Tests/ControlTests/HierarchyRepeaterTests.cs#L49
Test method DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.CommandInMarkupControl threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]). Real data context types: HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, HierarchyRepeaterTests.BasicTestViewModel.
|
RepeaterSetsCorrectDataContextInside:
src/Tests/ControlTests/RepeaterTests.cs#L106
Test method DotVVM.Framework.Tests.ControlTests.RepeaterTests.RepeaterSetsCorrectDataContextInside threw exception:
System.Exception: RepeaterTests.RepeaterSetsCorrectDataContextInside.html has changed, the actual output differs from the previous accepted output:
diff --git a/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html b/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html
index f70a045..654bdf5 100644
--- a/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html
+++ b/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html
@@ -4,7 +4,7 @@
<!-- runtime/runtime -->
<div data-bind="foreach: { data: Items }">
- <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
+ <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
</div>
<!-- precompile/runtime -->
@@ -19,7 +19,7 @@
<!-- runtime/precompile. The inner control is not precompiled because it's created at runtime, but we can check that it does not break either. -->
<div data-bind="foreach: { data: Items }">
- <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
+ <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
</div>
</body>
</html>
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
|
HierarchyRepeater_SimpleTemplate:
src/Tests/ControlTests/ResourceDataContextTests.cs#L144
Test method DotVVM.Framework.Tests.ControlTests.ResourceDataContextTests.HierarchyRepeater_SimpleTemplate threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{resource: NextLevelCustomers}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.ResourceDataContextTests.TestViewModel.CustomerData, server-side-only, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[ResourceDataContextTests.TestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.ResourceDataContextTests.TestViewModel.CustomerData, server-side-only, ext=[_index: int, _collection: BindingCollectionInfo], par=[ResourceDataContextTests.TestViewModel]). Real data context types: ResourceDataContextTests.TestViewModel.CustomerData, ResourceDataContextTests.TestViewModel.
|
WrappedHierarchyRepeaterControlWithGeneratedIds:
src/Tests/ControlTests/CompositeControlTests.cs#L105
Test method DotVVM.Framework.Tests.ControlTests.CompositeControlTests.WrappedHierarchyRepeaterControlWithGeneratedIds threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.CompositeControlTests.BasicTestViewModel.HierarchyVM, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.CompositeControlTests.BasicTestViewModel.HierarchyVM, ext=[_index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]). Real data context types: CompositeControlTests.BasicTestViewModel.HierarchyVM, CompositeControlTests.BasicTestViewModel.
|
MenuRepeater:
src/Tests/ControlTests/CompositeControlTests.cs#L308
Test method DotVVM.Framework.Tests.ControlTests.CompositeControlTests.MenuRepeater threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: _this}'. 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, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]), binding's context is (type=string, ext=[_index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]). Real data context types: string, CompositeControlTests.BasicTestViewModel.
|
CommandDataPager:
src/Tests/ControlTests/DataPagerTests.cs#L33
Test method DotVVM.Framework.Tests.ControlTests.DataPagerTests.CommandDataPager threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: (_thisIndex == _this.Customers.PagingOptions.PageIndex)}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]), binding's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]). Real data context types: null, DataPagerTests.GridViewModel.
|
StaticCommandPager:
src/Tests/ControlTests/DataPagerTests.cs#L58
Test method DotVVM.Framework.Tests.ControlTests.DataPagerTests.StaticCommandPager threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: (_thisIndex == _this.Customers.PagingOptions.PageIndex)}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]), binding's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]). Real data context types: null, DataPagerTests.GridViewModel.
|
HideableDataPager:
src/Tests/ControlTests/DataPagerTests.cs#L86
Test method DotVVM.Framework.Tests.ControlTests.DataPagerTests.HideableDataPager threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: (_thisIndex == _this.Customers.PagingOptions.PageIndex)}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]), binding's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]). Real data context types: null, DataPagerTests.GridViewModel.
|
UsageWithThisInBindings:
src/Tests/ControlTests/HierarchyRepeaterTests.cs#L30
Test method DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.UsageWithThisInBindings threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]). Real data context types: HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, HierarchyRepeaterTests.BasicTestViewModel.
|
CommandInMarkupControl (True):
src/Tests/ControlTests/HierarchyRepeaterTests.cs#L49
Test method DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.CommandInMarkupControl threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]). Real data context types: HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, HierarchyRepeaterTests.BasicTestViewModel.
|
CommandInMarkupControl (False):
src/Tests/ControlTests/HierarchyRepeaterTests.cs#L49
Test method DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.CommandInMarkupControl threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]). Real data context types: HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, HierarchyRepeaterTests.BasicTestViewModel.
|
RepeaterSetsCorrectDataContextInside:
src/Tests/ControlTests/RepeaterTests.cs#L106
Test method DotVVM.Framework.Tests.ControlTests.RepeaterTests.RepeaterSetsCorrectDataContextInside threw exception:
System.Exception: RepeaterTests.RepeaterSetsCorrectDataContextInside.html has changed, the actual output differs from the previous accepted output:
diff --git a/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html b/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html
index f70a045..654bdf5 100644
--- a/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html
+++ b/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html
@@ -4,7 +4,7 @@
<!-- runtime/runtime -->
<div data-bind="foreach: { data: Items }">
- <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
+ <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
</div>
<!-- precompile/runtime -->
@@ -19,7 +19,7 @@
<!-- runtime/precompile. The inner control is not precompiled because it's created at runtime, but we can check that it does not break either. -->
<div data-bind="foreach: { data: Items }">
- <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
+ <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
</div>
</body>
</html>
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
|
HierarchyRepeater_SimpleTemplate:
src/Tests/ControlTests/ResourceDataContextTests.cs#L144
Test method DotVVM.Framework.Tests.ControlTests.ResourceDataContextTests.HierarchyRepeater_SimpleTemplate threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{resource: NextLevelCustomers}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.ResourceDataContextTests.TestViewModel.CustomerData, server-side-only, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[ResourceDataContextTests.TestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.ResourceDataContextTests.TestViewModel.CustomerData, server-side-only, ext=[_index: int, _collection: BindingCollectionInfo], par=[ResourceDataContextTests.TestViewModel]). Real data context types: ResourceDataContextTests.TestViewModel.CustomerData, ResourceDataContextTests.TestViewModel.
|
WrappedHierarchyRepeaterControlWithGeneratedIds:
src/Tests/ControlTests/CompositeControlTests.cs#L105
Test method DotVVM.Framework.Tests.ControlTests.CompositeControlTests.WrappedHierarchyRepeaterControlWithGeneratedIds threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.CompositeControlTests.BasicTestViewModel.HierarchyVM, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.CompositeControlTests.BasicTestViewModel.HierarchyVM, ext=[_index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]). Real data context types: CompositeControlTests.BasicTestViewModel.HierarchyVM, CompositeControlTests.BasicTestViewModel.
|
MenuRepeater:
src/Tests/ControlTests/CompositeControlTests.cs#L308
Test method DotVVM.Framework.Tests.ControlTests.CompositeControlTests.MenuRepeater threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: _this}'. 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, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]), binding's context is (type=string, ext=[_index: int, _collection: BindingCollectionInfo], par=[CompositeControlTests.BasicTestViewModel]). Real data context types: string, CompositeControlTests.BasicTestViewModel.
|
CommandDataPager:
src/Tests/ControlTests/DataPagerTests.cs#L33
Test method DotVVM.Framework.Tests.ControlTests.DataPagerTests.CommandDataPager threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: (_thisIndex == _this.Customers.PagingOptions.PageIndex)}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]), binding's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]). Real data context types: null, DataPagerTests.GridViewModel.
|
StaticCommandPager:
src/Tests/ControlTests/DataPagerTests.cs#L58
Test method DotVVM.Framework.Tests.ControlTests.DataPagerTests.StaticCommandPager threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: (_thisIndex == _this.Customers.PagingOptions.PageIndex)}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]), binding's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]). Real data context types: null, DataPagerTests.GridViewModel.
|
HideableDataPager:
src/Tests/ControlTests/DataPagerTests.cs#L86
Test method DotVVM.Framework.Tests.ControlTests.DataPagerTests.HideableDataPager threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: (_thisIndex == _this.Customers.PagingOptions.PageIndex)}'. The DataContextType property of the binding does not correspond to DataContextType of the HtmlGenericControl nor any of its ancestors. Control's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]), binding's context is (type=int, ext=[_index: int, _collection: BindingCollectionInfo], par=[DataPagerTests.GridViewModel]). Real data context types: null, DataPagerTests.GridViewModel.
|
UsageWithThisInBindings:
src/Tests/ControlTests/HierarchyRepeaterTests.cs#L30
Test method DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.UsageWithThisInBindings threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]). Real data context types: HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, HierarchyRepeaterTests.BasicTestViewModel.
|
CommandInMarkupControl (True):
src/Tests/ControlTests/HierarchyRepeaterTests.cs#L49
Test method DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.CommandInMarkupControl threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]). Real data context types: HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, HierarchyRepeaterTests.BasicTestViewModel.
|
CommandInMarkupControl (False):
src/Tests/ControlTests/HierarchyRepeaterTests.cs#L49
Test method DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.CommandInMarkupControl threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{value: Children}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[HierarchyRepeaterTests.BasicTestViewModel]). Real data context types: HierarchyRepeaterTests.BasicTestViewModel.SaneHierarchicalItem, HierarchyRepeaterTests.BasicTestViewModel.
|
RepeaterSetsCorrectDataContextInside:
src/Tests/ControlTests/RepeaterTests.cs#L106
Test method DotVVM.Framework.Tests.ControlTests.RepeaterTests.RepeaterSetsCorrectDataContextInside threw exception:
System.Exception: RepeaterTests.RepeaterSetsCorrectDataContextInside.html has changed, the actual output differs from the previous accepted output:
diff --git a/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html b/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html
index f70a045..654bdf5 100644
--- a/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html
+++ b/src/Tests/ControlTests/testoutputs/RepeaterTests.RepeaterSetsCorrectDataContextInside.html
@@ -4,7 +4,7 @@
<!-- runtime/runtime -->
<div data-bind="foreach: { data: Items }">
- <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
+ <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
</div>
<!-- precompile/runtime -->
@@ -19,7 +19,7 @@
<!-- runtime/precompile. The inner control is not precompiled because it's created at runtime, but we can check that it does not break either. -->
<div data-bind="foreach: { data: Items }">
- <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
+ <span>Inner precompiled, context = (type=DotVVM.Framework.Tests.ControlTests.TestItem, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[BasicTestViewModel])</span>
</div>
</body>
</html>
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
|
HierarchyRepeater_SimpleTemplate:
src/Tests/ControlTests/ResourceDataContextTests.cs#L144
Test method DotVVM.Framework.Tests.ControlTests.ResourceDataContextTests.HierarchyRepeater_SimpleTemplate threw exception:
DotVVM.Framework.Binding.BindingHelper+InvalidDataContextTypeException: Could not find DataContext space of '{resource: NextLevelCustomers}'. The DataContextType property of the binding does not correspond to DataContextType of the DataItemContainer nor any of its ancestors. Control's context is (type=DotVVM.Framework.Tests.ControlTests.ResourceDataContextTests.TestViewModel.CustomerData, server-side-only, ext=[_index: int, _collection: BindingCollectionInfo, _index: int, _collection: BindingCollectionInfo], par=[ResourceDataContextTests.TestViewModel]), binding's context is (type=DotVVM.Framework.Tests.ControlTests.ResourceDataContextTests.TestViewModel.CustomerData, server-side-only, ext=[_index: int, _collection: BindingCollectionInfo], par=[ResourceDataContextTests.TestViewModel]). Real data context types: ResourceDataContextTests.TestViewModel.CustomerData, ResourceDataContextTests.TestViewModel.
|
UI tests (chrome, ubuntu-latest, Production, Default)
Action failed since 34 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 34 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 33 tests failed.
|
UI tests (firefox, ubuntu-latest, Production, Default)
Process completed with exit code 1.
|
UI tests (firefox, ubuntu-latest, Development, Default)
Action failed since 33 tests failed.
|
UI tests (firefox, ubuntu-latest, Development, Default)
Process completed with exit code 1.
|
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests)
Action failed since 33 tests failed.
|
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests)
Process completed with exit code 1.
|
UI tests (chrome, windows-2022, Development, Default)
Action failed since 33 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/
|
.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/
|
.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/
|
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/
|
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/
|
.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/
|
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/
|
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, 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 (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 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.2 KB |
|
analyzers-tests-net6.0-Release-macOS
|
72.4 KB |
|
chrome-tests-Linux-Production-Default
|
1.51 MB |
|
chrome-tests-Linux-Production-ExperimentalFeaturesTests
|
1.53 MB |
|
chrome-tests-Windows-Development-Default
|
1.65 MB |
|
firefox-tests-Linux-Development-Default
|
3.85 MB |
|
firefox-tests-Linux-Development-ExperimentalFeaturesTests
|
3.55 MB |
|
firefox-tests-Linux-Production-Default
|
2.06 MB |
|