Closed sampraxis closed 9 months ago
Ready for testing.
block_sharing_cart/backup_mode
to "Asynchronous". block_sharing_cart/restore_mode
to "Asynchronous".Copy to course
to be hidden (If ad hoc task happens to run instantly, the button be appear in the item).block_sharing_cart_async_backup_course_module
) is completed or run it manually /admin/tool/task/adhoctasks.php
Copy to course
button and place it into the course.block_sharing_cart_async_restore_course_module
) is still in the queue. If it is, run it manually in /admin/tool/task/adhoctasks.php
.The procedure is the same as "Test 1". But this times the course module type should be checked in the admin setting block_sharing_cart/userdata_copyable_modtypes
.
When you copy the course module to the sharing cart select that you want to include the user data.
block_sharing_cart/backup_mode
to "Immediate". block_sharing_cart/restore_mode
to "Immediate".Copy to course
button and place it into the course.Når man kopiere en sektion til delekurven i delekurven skal den være grå, så man kan se den kopiere hele sektionen ud. Lige nu er det kun aktiviteterne i sektionen der er grå, når den åbnes i delekurven, når der kopieres.
Den skal lytte på hvornår den er færdig med at kopiere og ændre farven fra grå til sort, ellers vil nogle kunder sidde og vente meget længe.
Når man indsætter asynkront skal der komme en besked/markering om at man er ved at kopiere data ind i kurset fra delekurven. Der er ingen indikator på dette nu.
Kommer man til at kopiere samme sektion ind i kurven ser det ud til der er en CSS fejl og den nummerere de kommente kopier forkert.
@neeesn Ready for testing
Test with some label with very text as well. See if it trim text out if it exceed 100 characters.
We have an issue in upgrade progress. When sharing cart record content user id that is no longer exists in the system, it cause upgrade to failed.
Plan on release to Niels Brock today @ 16:00
Solution: Move the business logic to the an adhoc task.
Related issues: praxisdigital/moodle-block_sharing_cart#105 praxisdigital/moodle-block_sharing_cart#117