When I tried to upload new version of our plugin for the Moodle 3.8, the following error was displayed.
Errors parsing db/install.xml: PATH attribute does not match file directory: /var/www/temp/local_plugins/version_upload/387026789/kalmediaassign/db
Our plugin name is "mod_kalmediaassign", and "install.xml" is placed in "mod/kalmediaassign/db" directory.
I describe the XML header of "install.xml" as follows:
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH="mod/kalmediaassign/db" VERSION="2019111400" COMMENT="XMLDB file for Moodle mod/kalmediaassign"
I seem that our "install.xml" has no issue.
But, I cannot upload this plugin.
- is a regression caused by
MDL-61150 Wrong PATH attribute in some XMLDB install.xml files
- is duplicated by
MDLSITE-6031 PATH attribute does not match file directory for Moodle 3.8 plugin upload