synergylearning / moodle-mod_giportfolio

Based on the book module, this allows students to create portfolio contributions, within a structure set by the teacher.
3 stars 13 forks source link

After restoring the course "Submitted portfolios: 0" #16

Closed setai-support closed 3 years ago

setai-support commented 3 years ago

The portfolio plugin is working as expected in different Moodle versions. The only issue is when I make a backup copy of a course that contains portfolios. If I restore the backup in the same Moodle everything works 100% fine. If I restore the backup in a different Moodle (the Moodle version is not an issue) it does not show me the portfolios (Submitted portfolios: 0) even though it shows me the grades of each student correctly for having submitted the portfolio.

portfolo 1 portfolio 2

davosmith commented 3 years ago

I've just pushed a fix that should allow backup + restore to work.

It may work if you just deploy on the destination site, but you should probably deploy to both and recreate the backup, if at all possible.

setai-support commented 3 years ago

Dear Mr. Smith,

I reinstalled the fixed plugin code on the destination site. Now the portfolio plugin is working as expected. When restoring the courses, the submitted portfolios are shown.

Thank you so so so much! Two thumbs up!

davosmith commented 3 years ago

Closing issue - thanks for confirming the fix!