Skip to content
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

53 homework teacher feature be able to edit already created homework material #60

Conversation

Skjodt
Copy link
Contributor

@Skjodt Skjodt commented Nov 15, 2024

Go into a Course.
Go into a Homework Activity.
Create a Homework.
Go to the edit Page.
You should a picture as below if you enter the same values + a PDF.
Try to edit the homework and verify that mdl_files and mdl_homework_files updates accordingly (for instance if you remove the file homework_files should update it reference key to null for the file_id)

if you remove the homework both tables should clean up the records

We changed View - since adding material was on edit page. However, if conflicts occur on the view page. Do not overwrite with this version.

image

Copy link
Contributor

@Daniel-Rosbak-Student Daniel-Rosbak-Student left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jeres unit tests fejler i windows testing, både for block homework og mod homework i alle fire tests

Copy link
Contributor

@Daniel-Rosbak-Student Daniel-Rosbak-Student left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Det var en bug, det ser fint ud 👍

@AllanVester AllanVester merged commit 7d27032 into main Nov 19, 2024
@AllanVester AllanVester deleted the 53-homework-teacher-feature-be-able-to-edit-already-created-homework-material branch November 19, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Homework-Teacher-Feature] Be able to edit already created homework material
3 participants