Fixed a crash after upload learning world #1782
Annotations
10 warnings
Build test project:
TestHelpers/PersistEntityProvider.cs#L65
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
|
Build test project:
PresentationTest/View/LearningWorld/LearningWorldTreeViewUt.cs#L45
Non-nullable property 'StoryEle1' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build test project:
PresentationTest/View/LearningWorld/LearningWorldTreeViewUt.cs#L46
Non-nullable property 'StoryEle2' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build test project:
PresentationTest/View/LearningWorld/LearningWorldTreeViewUt.cs#L47
Non-nullable property 'Ele1' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build test project:
PresentationTest/Components/ContentFiles/ContentFilesViewUt.cs#L115
Dereference of a possibly null reference.
|
Build test project:
PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L152
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.
|
Build test project:
PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L167
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.
|
Build test project:
PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L185
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.
|
Build test project:
PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L61
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.
|
Build test project:
PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L85
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.
|
Loading