jcrodriguez-dis / moodle-mod_vpl

Virtual Programming Lab for Moodle (Module)
GNU General Public License v3.0
102 stars 88 forks source link

Image is not correctly restored #23

Closed antonio-c-mariani closed 8 years ago

antonio-c-mariani commented 8 years ago

Steps:

  1. Create a new vpl activity;
  2. Add a title;
  3. Add a description that includes an image using the "insert/edit image" button from de html editor;
  4. Make a activity backup;
  5. Restore the backup into the same course;
  6. The image is not shown at the description. I'm using Moodle 3.0 and VPL module version 2015080600 (3.1.4).

A.C.Mariani

jcrodriguez-dis commented 8 years ago

Hello Antonio, I will try to reproduce the problem.

jcrodriguez-dis commented 8 years ago

It's confirmed, there is a bug. The decode of the URL of the image from the backup is incorrect. As a workaraung you can use embeded images insteand. I will try to resolve the problem before the next release.

jcrodriguez-dis commented 8 years ago

Resolved in commit https://github.com/jcrodriguez-dis/moodle-mod_vpl/commit/ae49fe367627b30210775769e796ee13fb788d9b