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
When a lesson is deleted, ALL of its associated submissions should be deleted. In the database level, deleting a lesson should result in the automatic deletion of the submissions. This can be done if you set DELETE CASCADE on the lesson table as explained here
The lesson documents and submission documents should also be deleted permanently from the server
Ensure that users can confirm Yes/No if they REALLY want to delete the lesson (after clicking the Delete button). Please also mention that deleting this lesson will result in the deletion of all of its associated submissions and the action cannot be reversed
Upon deletion, the user should be redirected to the current lesson list page with a message "Lesson has been deleted" (if successful) or show an error message if unsuccessful
The text was updated successfully, but these errors were encountered:
Dependency
Depends on #27
Story
As a Teacher or an Admin
I Want to delete an existing lesson
So That I can keep the lessons up to date
Acceptance Criteria
The text was updated successfully, but these errors were encountered: