mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #36148
[Bug 1598990] [NEW] Cannot instantiate abstract class PluginImport
Public bug reported:
Mahara: 16.04.1
OS: Linux
DB: Postgres
Browser: Firefox
During the cron task run for core_import_process_queue, we are getting
this error:
PHP Fatal error: Cannot instantiate abstract class PluginImport in
/var/www/site-anu/import/lib.php on line 191
The import_queue table has a few record with format = ''.
It is trying to import leap2A data into Mahara from Moodle.
The Moodle version is 2.7 which is using an older version of the
submission plugin. But, that shouldn't matter.
I think we need 2 things:
1) Check that the format is correct in
PluginImport::class_from_format(). If it's not correct, default it to
leap.
2) When the importer is created in import_process_queue(), it should be
wrapped in the try/catch block.
** Affects: mahara
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1598990
Title:
Cannot instantiate abstract class PluginImport
Status in Mahara:
New
Bug description:
Mahara: 16.04.1
OS: Linux
DB: Postgres
Browser: Firefox
During the cron task run for core_import_process_queue, we are getting
this error:
PHP Fatal error: Cannot instantiate abstract class PluginImport in
/var/www/site-anu/import/lib.php on line 191
The import_queue table has a few record with format = ''.
It is trying to import leap2A data into Mahara from Moodle.
The Moodle version is 2.7 which is using an older version of the
submission plugin. But, that shouldn't matter.
I think we need 2 things:
1) Check that the format is correct in
PluginImport::class_from_format(). If it's not correct, default it to
leap.
2) When the importer is created in import_process_queue(), it should
be wrapped in the try/catch block.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1598990/+subscriptions
Follow ups
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Robert Lyon, 2016-10-21
-
[Bug 1598990] A change has been merged
From: Mahara Bot, 2016-08-26
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Son Nguyen, 2016-08-26
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Kristina Hoeppner, 2016-07-19
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Ghada El-Zoghbi, 2016-07-19
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Ghada El-Zoghbi, 2016-07-18
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Kristina Hoeppner, 2016-07-18
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Ghada El-Zoghbi, 2016-07-14
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Kristina Hoeppner, 2016-07-14
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Kristina Hoeppner, 2016-07-14
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Kristina Hoeppner, 2016-07-08
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Robert Lyon, 2016-07-07
-
[Bug 1598990] A patch has been submitted for review
From: Mahara Bot, 2016-07-05
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Ghada El-Zoghbi, 2016-07-05
-
[Bug 1598990] Re: Cannot instantiate abstract class PluginImport
From: Ghada El-Zoghbi, 2016-07-05