by Stephen Ogden.
Hi all,
I'm having an issue that I hope someone can help me resolve - or at least give me some pointers as where to look!
I have a course that contains:
- a PDF in a resource activity,
- a page activity that links to the above resource activity (i.e. https://my.moodle.site/mod/resource/view.php?id=4221)
When I duplicate the page activity the link to the resource activity gets altered.
Instead of linking to something like: https://my.moodle.site/mod/resource/view.php?id=4221 ...
it instead points to a non-existent activity like: https://my.moodle.site/mod/<third-party-plugin-name>/view.php?id=4225
I get the exact same behaviour if I backup the course and restore to a new course.
I've altered the domain name and name of the third party plugin to protect the innocent (or guilty?).
Has anyone come across this behaviour before?
Is this likely to only be a bug in this third-party plugin or is this a Moodle bug (behaviour that should never ever be possible no matter how badly a third-party plugin might be written) ?
Note: error tested and replicated on Moodle 3.4.3 (Build: 20180517) and Moodle 3.6.1 (Build: 20181205)
many thanks for any help that you can provide