-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature 7 course enrolment debugging #83
Conversation
…nging the key so that it no longer requires casting (uses parallel arraylists), added helper method in TaskMap that allows me to add a Map to TaskMap
@@ -84,39 +85,44 @@ public CourseEnrolmentResponseModel enrol(CourseEnrolmentRequestModel requestMod | |||
courseTaskId.add(taskTitleToId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
above on line 46/47, I think it should be if (!courseEnrolmentDsGateway.existsByCourseID(requestModel.getCourseID())) {
(i.e. if course does NOT exist)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed! Thanks for catching it
Also, while you're making changes, I think the screen issue for the courses tab in the main screens are just that in the ActionListeners of |
…in course creation use case (splitting one string of tasks into multiple task strings in arraylist in requestmodel, made pop-up text nicer in screen, modified Course entity getTasks method to match use case changes, one small bug found,
… work rip), still need to test for persistence as well as the enrolment tests too
…ill delete later after i make sure this actually works)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks swaggy to me
As of December 7th, 2022:
MAJOR CHANGES TO COURSE ENROLMENT USE CASE
As of December 5th, 2022
Changes in CourseEnrolmentInteractor: