Public bug reported: Tested on Site: https://master-mahara.catalystdemo.net.nz Browser: chrome/FF/Safari 10.0.3 Device: Desktop/MacBook Pro
Steps to Reproduce: 1) Navigate to portfolio>Import 2) choose a Leap2a file 3) Click on Import Actual Result: The following warning message is displayed [WAR] 1d (artefact/comment/import/leap/lib.php:249) Missing argument 3 for LeapImportComment::setup_relationships(), called in /home/niranjanbandi/code/mahara/htdocs/artefact/comment/import/leap/lib.php on line 240 and defined Call stack (most recent first): log_message("Missing argument 3 for LeapImportComment::setup_re...", 8, true, true, "/home/niranjanbandi/code/mahara/htdocs/artefact/co...", 249) at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:521 error(2, "Missing argument 3 for LeapImportComment::setup_re...", "/home/niranjanbandi/code/mahara/htdocs/artefact/co...", 249, array(size 2)) at /home/niranjanbandi/code/mahara/htdocs/artefact/comment/import/leap/lib.php:249 LeapImportComment::setup_relationships(object(SimpleXMLElement), object(PluginImportLeap)) at /home/niranjanbandi/code/mahara/htdocs/artefact/comment/import/leap/lib.php:240 LeapImportComment::setup_relationships_from_requests(object(PluginImportLeap)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1771 call_static_method("LeapImportComment", "setup_relationships_from_requests", object(PluginImportLeap)) at /home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:299 PluginImportLeap->call_import_method_plugins("setup_relationships_from_requests") at /home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:315 PluginImportLeap->do_import_from_requests() at /home/niranjanbandi/code/mahara/htdocs/import/index.php:311 do_import() at /home/niranjanbandi/code/mahara/htdocs/import/index.php:71 [WAR] 1d (lib/errors.php:536) [TypeError]: Argument 4 passed to LeapImportComment::setup_relationships() must be of the type array, none given, called in /home/niranjanbandi/code/mahara/htdocs/artefact/comment/import/leap/lib.php on line 240 Call stack (most recent first): exception(object(TypeError)) at Unknown:0 And for safari browser it only shows the following error Mahara: Site unavailable A nonrecoverable error occurred. This probably means you have encountered a bug in the system ** 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/1681291 Title: Unable to import leap2a file Status in Mahara: New Bug description: Tested on Site: https://master-mahara.catalystdemo.net.nz Browser: chrome/FF/Safari 10.0.3 Device: Desktop/MacBook Pro Steps to Reproduce: 1) Navigate to portfolio>Import 2) choose a Leap2a file 3) Click on Import Actual Result: The following warning message is displayed [WAR] 1d (artefact/comment/import/leap/lib.php:249) Missing argument 3 for LeapImportComment::setup_relationships(), called in /home/niranjanbandi/code/mahara/htdocs/artefact/comment/import/leap/lib.php on line 240 and defined Call stack (most recent first): log_message("Missing argument 3 for LeapImportComment::setup_re...", 8, true, true, "/home/niranjanbandi/code/mahara/htdocs/artefact/co...", 249) at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:521 error(2, "Missing argument 3 for LeapImportComment::setup_re...", "/home/niranjanbandi/code/mahara/htdocs/artefact/co...", 249, array(size 2)) at /home/niranjanbandi/code/mahara/htdocs/artefact/comment/import/leap/lib.php:249 LeapImportComment::setup_relationships(object(SimpleXMLElement), object(PluginImportLeap)) at /home/niranjanbandi/code/mahara/htdocs/artefact/comment/import/leap/lib.php:240 LeapImportComment::setup_relationships_from_requests(object(PluginImportLeap)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1771 call_static_method("LeapImportComment", "setup_relationships_from_requests", object(PluginImportLeap)) at /home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:299 PluginImportLeap->call_import_method_plugins("setup_relationships_from_requests") at /home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:315 PluginImportLeap->do_import_from_requests() at /home/niranjanbandi/code/mahara/htdocs/import/index.php:311 do_import() at /home/niranjanbandi/code/mahara/htdocs/import/index.php:71 [WAR] 1d (lib/errors.php:536) [TypeError]: Argument 4 passed to LeapImportComment::setup_relationships() must be of the type array, none given, called in /home/niranjanbandi/code/mahara/htdocs/artefact/comment/import/leap/lib.php on line 240 Call stack (most recent first): exception(object(TypeError)) at Unknown:0 And for safari browser it only shows the following error Mahara: Site unavailable A nonrecoverable error occurred. This probably means you have encountered a bug in the system To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1681291/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp