You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bug has been detected in which the templates and solutions of the new exercises are not added correctly, since all the promises for the upload were introduced "all at once" as simultaneous requests to the server, which was saturated.
As a consequence, this is solved by sending the requests sequentially (one at a time).
Copy file name to clipboardExpand all lines: vscode4teaching-extension/src/components/courses/CoursesTreeProvider.ts
+21-21Lines changed: 21 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -323,26 +323,26 @@ export class CoursesProvider implements vscode.TreeDataProvider<V4TItem> {
323
323
allowEditionAfterSolutionDownloaded: false
324
324
})));
325
325
326
-
// 3.2: an array containing promises for sending ZIP compressed files including all the templates and solutions extracted during the previous phases is generated.
expect(mockedVscode.window.showInformationMessage).toHaveBeenNthCalledWith(1,"To upload multiple exercises, prepare a directory with a folder for each exercise, each folder including the exercise's corresponding template and solution if wanted. When ready, click 'Accept'.",{title: "Accept"});
expect(mockedVscode.window.showInformationMessage).toHaveBeenNthCalledWith(1,"To upload multiple exercises, prepare a directory with a folder for each exercise, each folder including the exercise's corresponding template and solution if wanted. When ready, click 'Accept'.",{title: "Accept"});
0 commit comments