By default the legacy course files area is used for the files referenced from a HTML content (like images in the summary/intro fields). All references using $@FILEPHP@$ in moodle.xml will link to the legacy file.php after the restore. During the conversion, we should migrate the files into proper file areas if possible. This involves:
- rewrite $@FILEPHP@$ with @@PLUGINFILE@@
- migrate the referenced files so they appear in files.xml
- write filerefs into inforef.xml
See recently added helper method moodle1_converter::migrate_referenced_files() and its usage.
This was already fixed in the course summary field, section summary fields and intro fields in all resource successors. The questions have the attached image converted, too.
What must be done now is to add the conversion for intro fields in all other activity modules.