mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #14657
[Bug 1238392] Re: leap2a import gives blank page
** Changed in: mahara
Status: Fix Committed => Fix Released
--
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/1238392
Title:
leap2a import gives blank page
Status in Mahara ePortfolio:
Fix Released
Bug description:
To test:
1) create new user
2) add one page and one textbox to the page
3) export the user as leap2a
4) try to import user - get white screen of death
In error logs it says:
PHP Fatal error: Call to undefined function string() in /home/robertl/htdocs/mahara-testing/mahara/htdocs/artefact/internal/import/leap/lib.php on line 341, referer: https://mahara-testing/import/index.php
On fixing up that line I get this error on importation:
[WAR] 36 (lib/mahara.php:1465) call_user_func_array() expects parameter 1 to be a valid callback, class 'ArtefactTypeNote' not found
Call stack (most recent first):
log_message("call_user_func_array() expects parameter 1 to be a...", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 1465) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:446
error(2, "call_user_func_array() expects parameter 1 to be a...", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 1465, array(size 3)) at Unknown:0
call_user_func_array(array(size 2), array(size 1)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/mahara.php:1465
call_static_method("ArtefactTypeNote", "get_duplicated_artefacts", array(size 3)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/import/lib.php:264
PluginImport::add_import_entry_request("test08-1381463533", "portfolio:artefact96", 1, "internal", array(size 3)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/artefact/internal/import/leap/lib.php:386
LeapImportInternal::add_import_entry_request_using_strategy(object(SimpleXMLElement), object(PluginImportLeap), 1, array(size 0)) at Unknown:0
call_user_func_array(array(size 2), array(size 4)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/mahara.php:1465
call_static_method("LeapImportInternal", "add_import_entry_request_using_strategy", object(SimpleXMLElement), object(PluginImportLeap), 1, array(size 0)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/import/leap/lib.php:216
PluginImportLeap->build_import_entry_requests() at /home/robertl/htdocs/mahara-testing/mahara/htdocs/import/leap/lib.php:181
PluginImportLeap->process(1) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/import/index.php:180
import_submit(object(Pieform), array(size 3)) at Unknown:0
call_user_func_array("import_submit", array(size 2)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:528
Pieform->__construct(array(size 5)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:170
Pieform::process(array(size 5)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/pieforms/pieform.php:71
pieform(array(size 5)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/import/index.php:105
print_upload_form() at /home/robertl/htdocs/mahara-testing/mahara/htdocs/import/index.php:66
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1238392/+subscriptions
References