Skip to content

增加空判断,避免空引用错误导致页面加载异常 #224

增加空判断,避免空引用错误导致页面加载异常

增加空判断,避免空引用错误导致页面加载异常 #224

Triggered via push November 2, 2023 00:04
Status Failure
Total duration 2m 31s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
test
Process completed with exit code 1.
test: NewLife.CubeNC/Services/DbXmlRepository.cs#L67
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: NewLife.CubeNC/Common/EntityModelBinder.cs#L15
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Common/JsonModelBinder.cs#L53
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Common/PagerModelBinder.cs#L65
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Common/EntityModelBinder.cs#L15
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Services/DbXmlRepository.cs#L67
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: NewLife.CubeNC/Common/JsonModelBinder.cs#L53
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Common/PagerModelBinder.cs#L65
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Services/DbXmlRepository.cs#L67
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: NewLife.Cube/Areas/Admin/Controllers/RoleController.cs#L48
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.
test: NewLife.CubeNC/Services/DbXmlRepository.cs#L67
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: NewLife.CubeNC/Common/EntityModelBinder.cs#L15
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Common/PagerModelBinder.cs#L65
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Common/JsonModelBinder.cs#L53
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Services/DbXmlRepository.cs#L67
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: NewLife.CubeNC/Common/EntityModelBinder.cs#L15
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Common/PagerModelBinder.cs#L65
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.CubeNC/Common/JsonModelBinder.cs#L53
'ComplexTypeModelBinder' is obsolete: 'This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.'
test: NewLife.Cube.Blazor/Views/Blazor/LevelLayout.razor#L12
Component 'Toast' expects a value for the parameter 'Options', but a value may not have been provided.
test: NewLife.Cube.Blazor/Views/Blazor/LevelLayout.razor#L14
Found markup element with unexpected name 'PopoverConfirm'. If this is intended to be a component, add a @using directive for its namespace.