leap2a import gives blank page

Bug #1238392 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Aaron Wells

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

Revision history for this message
Aaron Wells (u-aaronw) wrote :
tags: added: interactive-import leap2a
removed: import
Changed in mahara:
status: New → In Progress
assignee: nobody → Aaron Wells (u-aaronw)
Aaron Wells (u-aaronw)
Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.