← Back to team overview

mahara-contributors team mailing list archive

[Bug 789719] Re: Leap2A export from Moodle 2.0.2 does not work

 

Hello,

Case 1
Moodle:
Exporting content from Forum: News and Announcements
Exporting content to Mahara ePortfolio
Summary of your export
Selected export format  HTML
Please confirm this export
Continue to your portfolio
Mahara shows:
Home / incoming (with exported HTML file)

Case 2
Moodle
Exporting content from Forum: News and Announcements
Exporting content to Mahara ePortfolio
Summary of your export
Selected export format Leap2A portfolio format
Please confirm this export
Continue to your portfolio
Mahara shows:
Dashboard (no file in Home / incoming)

/var/log/apache2/error.log
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1] [WAR] ab (import/leap/lib.php:1075) Undefined offset: 0
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1] Call stack (most recent first):
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * log_message("Undefined offset: 0", 8, true, true, "/var/www/mahara/import/leap/lib.php", 1075) at /var/www/mahara/lib/errors.php:446
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * error(8, "Undefined offset: 0", "/var/www/mahara/import/leap/lib.php", 1075, array(size 3)) at /var/www/mahara/import/leap/lib.php:1075
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * PluginImportLeap->get_entry_by_id("http://www.mydomain.com/user/view.php?id=148";) at /var/www/mahara/import/leap/lib.php:239
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * PluginImportLeap->create_strategy_listing() at /var/www/mahara/import/leap/lib.php:135
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * PluginImportLeap->process() at /var/www/mahara/api/xmlrpc/lib.php:473
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * send_content_ready("cde8974441442d1ba0bbf199b618fa561025077c", "user1", "leap2a", array(size 4), 1) at Unknown:0
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * call_user_func_array("send_content_ready", array(size 5)) at /var/www/mahara/api/xmlrpc/lib.php:122
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * api_dummy_method("portfolio/mahara/lib.php/send_content_ready", array(size 5), "send_content_ready") at Unknown:0
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * xmlrpc_server_call_method(resource(#41), "<?xml version="1.0" encoding="utf-8"?>
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1] <methodCall...", "send_content_ready", array(size 1)) at /var/www/mahara/api/xmlrpc/dispatcher.php:191
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * Dispatcher->__construct("<?xml version="1.0" encoding="utf-8"?>
[Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1] <methodCall...", true, true) at /var/www/mahara/api/xmlrpc/server.php:142
[Wed Jun 01 08:15:10 2011] [error] [client 127.0.0.1] [DBG] 6b (auth/user.php:1075) Destroying user with un-committed changes, referer: http://www.mydomain.com/portfolio/add.php

Regards
Michael

** Bug watch added: www.mydomain.com/user/ #148
   http://www.mydomain.com/user/view.php?id=148

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/789719

Title:
  Leap2A export from Moodle 2.0.2 does not work

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  via http://twitter.com/#!/midide/statuses/74085317572960256 :

  "Testinstallation Moodle 2.0.2 und Mahara 1.4rc2 "Export to portfolio"
  mit Leap2A geht nicht - HTML Export geht - #Moodle mit Portfolio"

  The export of an artefact from Moodle 2.0.2 to Mahara 1.4RC2 via
  Leap2A does not work. The HTML export works.


Follow ups

References