UNIMOODLE / moodle-local_coursetransfer

Lote P3.2 - Restauración de cursos entre plataformas
2 stars 2 forks source link

Functionality 4. Admin plug-in for restoring courses and categories across platforms using functionalities 1 and 2. Settings, error message: 120001 and paginating #5

Closed mapemo4 closed 5 months ago

mapemo4 commented 7 months ago
  1. In both moodles, the source and destination settings must be identical.
    Given 2 moodle according to this use case:

    A - destination (new Moodle with empty courses). B - origin (old Moodle with previous period courses.)

For the plugin to work in moodle A, it must be set to origin of moodle B and also A itself. For the administrator, this is not a problem, but for the teacher role, when selecting a source, the two Moodle appear and itself should be hidden as a source.

  1. If it takes a long time to respond, the WS displays the error message: -120001- because there is a limit of 20 Sg in classes/api/request.php. This value is agreed to be included as a parameter. At the moment, it is changed in the code to 2000 seconds. It remains to investigate this delay problem may be from the moodle preproduction. They are assigned an admin account in the UV moodle.

  2. When restoring courses as an administrator, paginating is necessary to prevent the browser from running out of memory due to the number of courses in the drop-down list.

xpazv commented 7 months ago

Working on pagination solution.

xpazv commented 7 months ago

Could you please elaborate or provide more details on first issue?

mapemo4 commented 7 months ago

Could you please elaborate or provide more details on first issue?

I try to explain in more detail:

Given 2 moodle according to this use case:

A - destination (new Moodle with empty courses). B - origin (old Moodle with previous period courses.)

For the plugin to work in moodle A, it must be set to origin of moodle B and also A itself. For the administrator, this is not a problem, but for the teacher role, when selecting a source, the two Moodle appear and itself should be hidden as a source.

xpazv commented 7 months ago

Pagination added in last version.

mapemo4 commented 7 months ago

Pagination added in last version.

I see that this error or improvement has not been solved:

xpazv commented 7 months ago

Point 2 under review

xpazv commented 6 months ago

Point 2 tested with latest version, using Moodle 4.1.2 and Moodle 3.11

The bug is fixed.

mapemo4 commented 5 months ago

Point 2 tested with latest version, using Moodle 4.1.2 and Moodle 3.11

The bug is fixed.

We are testing in Moodle 4.1.9

mapemo4 commented 5 months ago

Pagination added in last version.

It can be quite difficult to locate a course when there are numerous pages present. A search engine is required to locate the course.

xpazv commented 5 months ago

It can be quite difficult to locate a course when there are numerous pages present. A search engine is required to locate the course.

We can evaluate, in a separete issue, the implementation of a non reactive course search engine feature as an enchancement