Open julianrubisch opened 6 years ago
Apperently, the e.type
field really doesn't exist.
Commenting out $etypeparams
from https://github.com/itamart/moodle-mod_dataform/blob/9d86bab2604706f13e13e26ec839ce7964b0581e/classes/pluginbase/dataformfilter.php#L308
and removing e.type
from https://github.com/itamart/moodle-mod_dataform/blob/9d86bab2604706f13e13e26ec839ce7964b0581e/classes/pluginbase/dataformfilter.php#L287
seems to fix the problem?
We are also seeing this on Totara 12 (essentially Moodle 3.3) running version 2017051502 release 3.3.2 of mod_dataform - any chance this issue will be worked on soon?
A little more info: I discovered that the plugin does actually work on a fresh plugin install, as the mdl_dataform_entries.type field exists in that case. The problem is that new fields are not getting created during the upgrade steps from a previous mod_dataform version - uninstalling the previous version seems to delete existing dataform instances, so simply uninstalling & reinstalling the latest 3.3.2 version is not a viable workaround.
I recently upgraded to Moodle 3.3.4 (Build: 20180208), and upgraded mod_dataform to 3.3.2, afterwards got this error:
as per https://moodle.org/plugins/mod_dataform, it seems there are others experiencing this error, too.